- Home >
- Computer Science >
- Develop a console program and a UML class and activity diagram
Develop a console program and a UML class and activity diagram
Question Description
Develop a console program that simulates a section of a restaurant menu. Each item will have a different price and your program should define at least ten (10) items. You will need to obtain an order from the user who should provide their menu selection along with quantity. The total cost for the meal must be calculated. The user will enter the amount of their payment ($10, $20, etc.). The program needs to calculate the amount due back to the user (payment minus total cost of meal).
The project instructions and deliverables are as follows:
List the data items that must be stored and used by the program. Each data item should be given a name for reference. Develop a UML class diagram that illustrates the data items for your program.
List the decisions the program must make. References to the data items in the previous step should be used where appropriate.
Describe the flow of operation of the program by preparing a UML activity diagram. All key activities should be included, and references to the data items and decisions listed in the previous steps should be used.
This question has not been answered.
Create a free account to get help with this and any other question!
Similar Content
Studypool values your privacy. Only questions posted as Public are visible on our website.
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors