Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

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

Database Theory Icdt 99 7th International Conference Jerusalem Israel January 10 12 1999 Proceedings Lncs 1540

Authors: Catriel Beeri ,Peter Buneman

1st Edition

3540654526, 978-3540654520

More Books

Students also viewed these Databases questions

Question

e. What do you know about your ethnic background?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago