Please help me with this structured programming task in C language, I'm confused about what to do with this. I will not present this work as my own, but will base your answer on how to formulate my answer.   Note: Use any of these structures and not other structures.

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

Please help me with this structured programming task in C language, I'm confused about what to do with this.

I will not present this work as my own, but will base your answer on how to formulate my answer.

 

Note: Use any of these structures and not other structures. 

  • Selection structures.
  • Sequence Structures.
  • Repetition structures.

 

  • Structures one-dimensional arrangement.
  • Structures two-dimensional arrangement.

 

Problem: Restaurant Billing

 

For a restaurant, it is desired to implement a billing system that allows for the efficient recording and collection of bills. During peak days, waiters need to be able to more quickly select the dishes and beverages most frequently ordered by customers and to be able to add them to the bill. In case of a mistake, they should also be allowed to remove items from the bill.

 

All food and beverages should be pre-registered in the system with their corresponding prices, but not all of them should appear in the express list, only those that have been marked for that purpose should appear. In addition, it happens that sometimes customers place requests for special orders that are not included in the menu, so the system should allow adding a "special order" with its respective price in order to make the corresponding charge.

 

Each bill is handled by a unique waiter. At the time of collection, 10% of the total amount consumed is added to the service charge. At the end of each waiter's shift, he receives the total amount corresponding to the accounts he served. For this, each account must be linked to a waiter at the time the account is established.

 

Furthermore, it is quite common for customers to request to pay a separate bill, so the system must allow the cashier to select items from a group of items from an account and create a separate invoice for each one. For accounting purposes, it is important that each account is associated with the corresponding invoice numbers that are generated. The sales tax percentage should also be computed.

Expert Solution
steps

Step by step

Solved in 2 steps with 4 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