Question: Complete the program below that asks the user for a store number as integer, name of two items, and the price of the two items.

Complete the program below that asks the user for a store number as integer, name of two items, and the price of the two items.
The program should calculate the total price before tax, the total price after tax (assume tax is 6%), and the average price using the total price with tax.
The program should then display the store number, the name and price of each item, the total price before tax, the total price after tax, and the average price. The program will read input by printing the following messages:
Enter store number:
Enter name of first item:
Enter price of first item:
Enter name of second item:
Enter price of second item:

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 Programming Questions!