Concept explainers
Write a C++ program that will simulate a Point-of-Sales terminal in Snack Bar.
For example,these are the items available for purchase and their corresponding unit prices:
Hot Dog Php 45.50
Hamburger Php 35.75
French Fries Php 25.85
Milk Shake Php 15.75
The terminal will ask the client to enter the quantity per item listed above. If in case, the client don't want to buy a particular product just give 0 on thatitem. The terminal will compute the cost per item and will generate a Transaction Receipt at the end. The terminal will also ask the client how much money to tender in order to pay the cost of the items bought. It will also compute for the VAT (value-added tax) on the total purchase say 20% of the total sales. See sample run output:
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 1 images
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education