Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

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
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Computer Science
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
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education