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 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
Get step-by-step solutions from verified subject matter experts
