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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education