Question: Instructions Write a C++ program which accepts from the keyboard a tax rate as a percentage and the price of six items. The program is

 Instructions Write a C++ program which accepts from the keyboard a

Instructions Write a C++ program which accepts from the keyboard a tax rate as a percentage and the price of six items. The program is to calculate: 1. The total price of the 6 items 2. The amount of tax to be paid on those six items and 3. The amount that the customer must pay The program should then print the amount to be paid by the customer. This output must have a meaningful label. .045 A sample run of a program solution. Please enter the tax rate as a percentage, for example .045 for 4.5% Please enter the price of the first item: 2.45 Please enter the price of the second item: 10.00 Please enter the price of the third item: 1.00 Please enter the price of the fourth item: 7.50 Please enter the price of the fifth item: 2.99 Please enter the price of the sixth item: 20.99 The cost before taxes is $44.93 The tax to be paid is $ 2.02185 The total amount due to the cashier is: $46.95185

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!