0% found this document useful (0 votes)
12 views

Random Menu Maker

The document describes a random menu generator application. It allows the user to input raw material items categorized as vegetables, sauces, and breads along with their costs. The user also specifies a service charge and tax percentage. The application then generates a 6 item menu with each item containing a randomly selected vegetable, sauce, and bread. It calculates and displays the cost for each menu item and the total tax. The menu is displayed read-only along with the system date.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Random Menu Maker

The document describes a random menu generator application. It allows the user to input raw material items categorized as vegetables, sauces, and breads along with their costs. The user also specifies a service charge and tax percentage. The application then generates a 6 item menu with each item containing a randomly selected vegetable, sauce, and bread. It calculates and displays the cost for each menu item and the total tax. The menu is displayed read-only along with the system date.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Random Menu Maker

2020

03
Dec
www.tismotech.com
Menu Maker
• Create a windows forms application to generate a
random menu from the available raw materials.

• Raw materials shall be categorized as Vegetables,


Sauces and Breads.

• User should be able to provide the list of materials and


the cost for the same.

• User should be able to specify the service charge and


tax percentage.
Material List screen
Vegetables Items Cost The tables have been filled with sample
(Rupees) data for your reference
Tomato 5
At first the tables are empty
Cucumber 3 The User enters data in all the tables
Lettuce 2 The User clicks on ‘Generate Menu’ (the
Corn 6 User entered data will be saved)
Next time the tables will be pre-populated
Potato 8 with the data that the User last entered in
the tables
Sauces Items Cost
(Rupees) All fields are mandatory
Mayonnaise 4
Tax = 10% of (cost of randomly selected
Mustard 2 vegetable + cost of randomly selected sauce
French dressing 8 + cost of randomly selected bread + service
charge)
Sweet onion 9

Bread Items Cost


(Rupees)
White Bread 3
Wheat Bread 2
Service charge (Rs) 100
Milk Bread 4
Multigrain Bread 8 Tax 10%
Sandwich Bread 6
Generate Menu
• Menu generation:
- Fixed number of items (6) shall be generated.
- Each menu item will be a random combination of the
available materials (program shall select one random
item from each of the materials list).
- Calculate and display the cost for each item on the
menu.
Menu screen

Display read-only menu with 6 options / rows


Display System Date

Menu for <date>


- Tomato with Mustard on Wheat Bread – Rs 30

- Potato with French dressing on Sandwich Bread – Rs 40


Tips

Menu Maker Class


String [] Vegetables
String [] Sauces
String [] Breads
Random Randomizer

Calculate Cost()
GetMenuItem()

You might also like