Prog. 8
Develop a Java program as project work to manage and maintain the billing
system of a Multi Cuisine Restaurant that serves the customers various
food items. The specifications are as listed below:
1. The main menu contains the following items:
(a) Starters
(b) Main Course (c) Deserts
2. On selecting (a) and (b) options the system asks whether you like
veg or non-veg items.
3. After specifying veg or non-veg it displays a list of items under that
category along with its price.
4. As you select any specific item to order, it further asks the quantity
(number of plates) required.
5. Enter the quantity (number of plates).
6. It further displays "Do you want to order more (Yes/No)". On entering
"yes", control moves to step 3 to accept the next order otherwise, it
moves to step 7.
7. It displays a bill as per the amount of items you have ordered, Vat
at the rate of 14.5% and total amount to be paid to the restaurant.
8. The same process is used for other selected items of the main menu.
II A sample food project for Internal Assessment
import java.util.:
Answers
Answer:
Explanation:
Develop a Java program as project work to manage and maintain the billing
system of a Multi Cuisine Restaurant that serves the customers various
food items. The specifications are as listed below:
1. The main menu contains the following items:
(a) Starters
(b) Main Course (c) Deserts
2. On selecting (a) and (b) options the system asks whether you like
veg or non-veg items.
3. After specifying veg or non-veg it displays a list of items under that
category along with its price.
4. As you select any specific item to order, it further asks the quantity
(number of plates) required.
5. Enter the quantity (number of plates).
6. It further displays "Do you want to order more (Yes/No)". On entering
"yes", control moves to step 3 to accept the next order otherwise, it
moves to step 7.
7. It displays a bill as per the amount of items you have ordered, Vat
at the rate of 14.5% and total amount to be paid to the restaurant.
8. The same process is used for other selected items of the main menu.
module to be used:
(a )decision contruct (b) iteration (c) methods (d) constructors (e) switch case