Question: Program Functionality: The console application operates in two modes: Manager and Customer. Manager Mode: An authenticated manager can view and edit the caf menu, as

Program Functionality:
The console application operates in two modes: Manager and Customer.
Manager Mode: An authenticated manager can view and edit the caf menu, as well as
toggle Maintenance Mode, which locks or unlocks the kiosk functionality.
Customer Mode: Customers can view the menu, place orders, and choose to proceed
with payment or cancel.
Program High-Level:
Home Menu:
a. Display a welcome message
b. Provide "Manager" and "Customer" options, along with an "Exit" application
feature.
N*2**********
Welcome to Cafe Kiosk. Start by selecting the option below: A/B/C
******
A. Manager
B. Customer
C. Exit
Enter your choice:
Manager Mode:
a. Authenticate with a username and password from the admin credentials file:
"credentials.txt".
b. If authentication fails, return to the "Home Menu" menu.
c. On successful login, present Manager Mode Options:
A. Display all Menu: Show items from "menu.txt" file.
B. Maintenance Mode: Toggle between active and maintenance states.
C. Add Menu Item: Add new dishes to 'menu.txt,' ensuring that the total
menu items do not exceed 30 items, as this is the maximum capacity of
the Kiosk. When you store a menu item to the menu.txt file, use the
following format (separated by semicolon ().
category;item;price;description
For example: Taco; Burrito; 10.99; a tortilla filled with food
D. Go Back: Return to the "Home" menu.
 Program Functionality: The console application operates in two modes: Manager and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!