Question: Q2- Write a program that reads the price and the tax rate of an item as float values, and shows the information such as item#,

 Q2- Write a program that reads the price and the tax

Q2- Write a program that reads the price and the tax rate of an item as float values, and shows the information such as item#, price, tax rate and item price on the screen. The following is an example of a run for inputs and outputs): Enter the price: 456 Enter the tax rate: 12 Price Tax Rate: Item Price Item 1 456.00 12 510.72 Here is the calculation formula for the Item Price: Item Price = Price (1 + Tax Rate/100) Q3- Now modify your code written in Q2 so that the program reads the price and the tax rate of 3 items as float values, and displays the information itemit, price, tax rate, and item price on the screen. Your program must also calculate and show the Total amount of the purchased items on the screen. The following is an example of a run: Enter the price: 100 Enter the tax rate: 7 Enter the price: 245 Enter the tax rate: 12 Enter the price: 456 Enter the tax rate: 10 Item Price Tax Rates Item Price 1 2 3 100.00 245.00 456.00 79 128 100 107.00 274.40 501.60 Total amount: 883.00$ Don't you use lists or arrays to solve this question w O

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!