. A new fast food restaurant, FTMK World Burger just starts their operation and has received a very good feedback from the students and staffs. The FTMK World Burger manager found out that their restaurant received a lot of customers during lunch hour, and cashiers will have difficulties in receiving the orders. To solve the problem, the manager has asked you to develop a cashier system for their restaurant.
The cashier system, will record customer’s orders, calculate the total pay, receive the pay from customer and calculate the balance. The process can be repeated and exit only when the users terminate the process. FTMK World menu and price are as follows:
SET 1
SET 2
SET 3
CB
Chicken Burger
BB
Beef Burger
FB
Fillet Burger
SA
Samosa
CP
Curry puff
PO
Popia
SD
Teh Tarik
Neslo
Milo
PRICE : RM 7.50
PRICE : RM 7.00
PRICE : RM 6.50
Sampleprogram’s output is as below.Bold phrases are input from users:
*******************************************************
FTMK WORLD BURGER
-------------------------------------------------------
MENU:
1: CB, SA, SD (RM7.50)
2: BB, CP, SD (RM7.00)
3: FB, PO, SD (RM6.50)
Please enter set number >>3
Please enter quantity >>1
More orders? (y/n) >>y
Please enter set number >>2
Please enter quantity >>2
Total: RM 20.50
Amount pay: RM25.00
Balance: RM 4.50
Bye. . .
Press any key to continue
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here