Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a c++ program about cafe system including function, structure, array and file Assignment Specification: your program should include the following: - Functions (should include
Write a c++ program about cafe system including function, structure, array and file
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started