Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A . Manager B . Customer C . Exit Enter your choice: A Please enter your credentials to login as a manager. username: sam 2

A. Manager
B. Customer
C. Exit
Enter your choice: A
Please enter your credentials to login as a manager.
username: sam 2023
password: $123
****
A. Display All Menu
B. Maintenance Mode
C. Add Menu Item
D. Go Back (Main Menu)
Enter your choice:
Customer Mode:
a. If in Maintenance Mode, display an error message:
"The kiosk is currently undergoing repairs. We are unable to take any orders at.
this time. We apologize for the inconvenience."
b. If not in a maintenance mode, provide options to:
A. Display all Menu: Show the menu from "menu.txt".
B. Place Order: Select dishes and show the final bill with taxes.
Add another item: Allows to add item to the cart
Cancel: Cancel the order and go back to "Home Menu"
Done: Show the final total price.
The total price should include a tax of 7%.
Show the following message after user finalizes the order, and
return "Home Menu".
"Your order has been taken. Please proceed to the register to pay $x and
collect your food. Thank you, and please visit again." [$x is the total
order price]
C. Go Back: Return to the "Home" menu.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

Question Can life insurance be used in a Keogh (HR 10) plan?

Answered: 1 week ago