Algorithm/Pseudocode

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Create a program base on this description in the picture with the Algorithm/Pseudocode

PS: I need a different program other than the one you guys sent to me

Language:C++

The SM_Menu.txt' file base on the question:

Bakso_Biasa    RM5.50

Bakso_Istimewa RM7.00

Bakso_Netizen  RM15.00

Bakso_Rusuk    RM15.00

Bakso_Telur    RM8.00

Bakso_Urat     RM10.00

Mee_Ayam_Biasa RM7.00

Mee_Ayam_Istimewa      RM12.00

Nasi_ayam_geprek       RM6.00

Nasi_ayam_penyet       RM6.00

Nasi_Bakar_Ayam_Petai  RM6.00

Nasi_Bakar_Kambing     RM10.00

Nasi_Bakar_Kerang      RM7.00

Nasi_Bawal_Bakar       RM18.00

Nasi_Bawal_penyet      RM18.00

Nasi_keli_bakar RM8.00

Nasi_keli_penyet       RM7.00

Nasi_sup_daging RM9.00

Nasi_sup_perut RM9.00

Nasi_Talapia_Bakar     RM15.00

Nasi_talapia_penyet    RM15.00

Sup_daging     RM7.00

Sup_perut      RM7.00

Sup_tulang     RM10.00

Restaurants are evolving and continuously offering a variety of fresh menus and services to attract
customers. The survivability of a restaurant depends on its financial management, in which some
kind of Restaurant Management System is adopted. For instance, the Point of Sale (POS) system is
required to record sales and payments.
The Selera Medan restaurant is a new restaurant that offers Indonesian menus as listed in the
'SM_Menu.txt' file. This restaurant is yet to have a POS System. You are required to create a POS
system for the restaurant that has the following features:
1) Ability to display the existing menu and price, with the editing options (add/delete menu)
2) Ability to enter the menu and quantity of purchase multiple times, then calculate the total
purchase price
3) Ability to save the purchase details in a text file and produce sales reports for one-day and one-
month operations. The format of the text file is as follows:
Date: 2022-01-01
Accumulated Total (RM)
150.50
238.30
Transaction time
Total (RM)
150.50
87.80
08:20:45
08:31:02
Figure 1: One-day transaction
Month: 2022-01
Total (RM)
238.30
Accumulated Total (RM)
238.30
793.30
Date
2022-01-01
2022-01-02
555.00
Figure 2: One-month transaction
Transcribed Image Text:Restaurants are evolving and continuously offering a variety of fresh menus and services to attract customers. The survivability of a restaurant depends on its financial management, in which some kind of Restaurant Management System is adopted. For instance, the Point of Sale (POS) system is required to record sales and payments. The Selera Medan restaurant is a new restaurant that offers Indonesian menus as listed in the 'SM_Menu.txt' file. This restaurant is yet to have a POS System. You are required to create a POS system for the restaurant that has the following features: 1) Ability to display the existing menu and price, with the editing options (add/delete menu) 2) Ability to enter the menu and quantity of purchase multiple times, then calculate the total purchase price 3) Ability to save the purchase details in a text file and produce sales reports for one-day and one- month operations. The format of the text file is as follows: Date: 2022-01-01 Accumulated Total (RM) 150.50 238.30 Transaction time Total (RM) 150.50 87.80 08:20:45 08:31:02 Figure 1: One-day transaction Month: 2022-01 Total (RM) 238.30 Accumulated Total (RM) 238.30 793.30 Date 2022-01-01 2022-01-02 555.00 Figure 2: One-month transaction
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY