Create a program that simulates a standard cash register


Create a program that simulates a standard Cash Register that meets the following requirements:

Stores separate sales tax rates for food and non-food item. The rate for the food items will be 3.5% and non-food items will be 7%.

The program will prompt user to select the tax type for the items and enter the price of the items.

The program will ask the user after each item whether the user wants to enter another item. If the user selects yes then the program should repeat prompting the user for item type and price. If the user selects no then the program will stop prompting for item entry.

The program will then display the subtotal, calculate the two separate sales tax rates and then display total.

The program will then prompt the user to enter the amount tendered by the customer and then display the amount of change owed the customer including a breaking down the change owed in dollars, quarters, dimes, nickels and pennies.

Your program must use an object-oriented approach. Specifically, you must create a class for your register, and instantiate that class from within main(). You may create as many classes as you need (be sure to include all your source files in your submission).

Solution Preview :

Prepared by a verified Expert
Business Economics: Create a program that simulates a standard cash register
Reference No:- TGS02183132

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)