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.
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
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.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 6 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education