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: o adding new item. o search for specific item. o 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 parate 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. Assignment Topic: Each team should choose a single topic only for your assignment ( Duplicated in not allowei which means within the section the topic is selected by one group only) : 1. Hospital System: a. Arrays: patients details, medicine, and dose. b. Arrays size: defined by the user. с. Menu: Represent the main services explained above 2. Games System: a. Arrays: players details (name,id,age, .. ), game name, and score. b. Arrays size: defined by the user. С. Menu: Represent the main services explained above 3. Staff System: a. Arrays: staff details (name,id,age, .. ), job name, and salary. b. Arrays size: defined by the user. c. Menu: Represent the main services explained above.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.2: Returning A Single Value
Problem 12E
icon
Related questions
Question
100%
I want to make a program about a cafe business The idea is to have a txt file for a menu and operate all the functions in it.
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:
o adding new item.
o search for specific item.
o 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
parate 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.
Assignment Topic: Each team should choose a single topic only for your assignment ( Duplicated in not allower
which means within the section the topic is selected by one group only) :
1. Hospital System:
a. Arrays: patients details, medicine, and dose.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above
2.
Games System:
a.
Arrays: players details (name,id,age, .. ), game name, and score.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above
3. Staff System:
a. Arrays: staff details (name,id,age, ... ), job name, and salary.
b. Arrays size: defined by the user.
с.
Menu: Represent the main services explained above.
4. Any suggested system you may propose.
CollageMaker
Transcribed Image Text: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: o adding new item. o search for specific item. o 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 parate 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. Assignment Topic: Each team should choose a single topic only for your assignment ( Duplicated in not allower which means within the section the topic is selected by one group only) : 1. Hospital System: a. Arrays: patients details, medicine, and dose. b. Arrays size: defined by the user. с. Menu: Represent the main services explained above 2. Games System: a. Arrays: players details (name,id,age, .. ), game name, and score. b. Arrays size: defined by the user. с. Menu: Represent the main services explained above 3. Staff System: a. Arrays: staff details (name,id,age, ... ), job name, and salary. b. Arrays size: defined by the user. с. Menu: Represent the main services explained above. 4. Any suggested system you may propose. CollageMaker
Expert Solution
steps

Step by step

Solved in 6 steps with 2 images

Blurred answer
Knowledge Booster
Types of Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning