Question: Write a c++ program about cafe system including function, structure, array and file Assignment Specification: your program should include the following: - Functions (should include
Assignment Specification: your program should include the following: - Functions (should include both: pass by value and pass by reference variables, void function and function returning any value) - Array of structs (at least one single array of struct) - Selection and repetition structures as needed - Add your team members names as a comment in the first line of your program. - You should print a menu to the user and offer him/her different services. - Main Services: adding new item. search for specific item. update existing record. delete. Sort. Display. At the start, your program should populate the array(s) from a file and allow the user to edit it. At the end overwrite the same file with the latest contents of the array(s). Provide another statistical report as separate text file e.g. the number of records, with date, time of last update. - The program should continue running until the user chooses to exit it. - Ensure to avoid any errors of any type (Run-time error, logical error, and syntax error). - You can add extra functions if wish to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
