Question: Write a program that will emulate a cash register. Prompt the user to input the price of three items. Add them together to get a

Write a program that will emulate a cash register. Prompt the user to input the price of three items. Add them together to get a subtotal. Determine the tax (6% ) on the subtotal. Find the total amount of the sale subtotal plus tax. Display the price of each item, subtotal amount, tax amount and final amount. Please use a proper heading in a comment block (name, date, description of the program). Please use comments in your code. Run your program twice using different inputs. Copy your output from the display/message window and submit it with your .java file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!