Total Purchase. Please Help


Joined
Oct 12, 2022
Messages
1
Reaction score
0
(Total Purchase) A customer in a store can purchase any one of the five items listed below: 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 = 24.95

Write a program that prompts the user to enter the quantity and item # of the product being bought. You should then calculate and print the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is 6% (declared as a constant).
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top