Write a program using a Loop structure that takes 5 inputs of sales for item 1 – item 5 from the user during runtime. The program use Running -Total to calculate the sales. The program applies 7% SalesTax The program gives a discount of 5% if the total sales are greater than $6000 The program gives a discount of 6% if the total sales are greater than $7000 The program validates the input as numbers only (Must Enter a Number) Provide different outputs to cover (1-6) The 5 items entered for sales calculations The subtotal of sales without taxes The total sales with taxes The final total of no discount < $6000 The final total of discount if sales > $6000 The final total of discount if sales > $7000
PYTHON (Do not use functions)
-
Write a
program using a Loop structure that takes 5 inputs of sales for item 1 – item 5 from the user during runtime. The program use Running -Total to calculate the sales.-
The program applies 7% SalesTax
-
The program gives a discount of 5% if the total sales are greater than $6000
-
The program gives a discount of 6% if the total sales are greater than $7000
-
The program validates the input as numbers only (Must Enter a Number)
Provide different outputs to cover (1-6)
-
The 5 items entered for sales calculations
-
The subtotal of sales without taxes
-
The total sales with taxes
-
The final total of no discount < $6000
-
The final total of discount if sales > $6000
-
The final total of discount if sales > $7000
-
-
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images