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.
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 now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images