Question: A customer in a store is purchasing five items. The prices of the five items are: Price of item 1 = $ 1 2 .

A customer in a store is purchasing five items. The prices of the five items are:
Price of item 1= $12.95
Price of item 2= $24.95
Price of item 3= $6.95
Price of item 4= $14.95
Price of item 5= $3.95
Write a program that stores the prices of the five items in five variables. Display each item's price, the programs calculated subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is 6%. See below a sample screen output, after a successful "build and run" using the Code::Block IDE.

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!