You are to write an application to make a request in the Coffee Shop ; Your application should have the following instructions:
1) You should Display the Menu.
2) You should ask the Customer in which Type of Coffee want.
3) You should ask the Customer the quantity ((الكمية .
4) The Maximum quantity in each request is 20.
5) You should ask the Customer if the user want to add a new request.
6) Then You must Calculate the Bill and give it to Customer.
The Information that you need it in your program:
1) The Menu (Coffee Type) :
· Espresso à 2.75 JD
· Cappuccino à 3.30 JD
· Turkish à 1.70 JD
· Mocha à 2.00 JD
· Coffee Breve à 2.50 JD
2) The Price of One Cup Espresso is 2.75 JD
3) The Price of One Cup Cappuccino is 3.30 JD.
4) The Price of One Cup Turkish is 1.70 JD.
5) The Price of One Cup Mocha is 2.00 JD.
6) The Price of One Cup Coffee Breve is 2.50 JD.
The Output Will be:
1) Confirmed the request for the customer to be sure.
2) Calculate the price among the Coffee Type and the Quantity and tell the user about the bill. (Print the requested of user (The bill)).
3) Your Program should not stop until you ask to exit from the program.
Notes :
1) The Interface of your Project should be Very beautiful and elegant(for Example use the color and other command like system("cls"):this command clear the running screen .
2) You should use Arrays and Functions in this Project.(Your program should have the following function :
· Menu( ) to display the Menu
· Bill ( ) to calculate the Bill for Customer.
· Espresso ( ) .
· Cappuccino ( ).
· Turkish ( ) .
· Mocha ( ).
· Coffee Breve ( ).
3) Also your program should have the following array:
· Espresso[ ]
· Cappuccino [ ].
· Turkish [ ].
· Mocha [ ].
· Coffee Breve [ ].
مواقع النشر (المفضلة)