Question
Description: You have been hired to help to develop a Python program that satisfy the following criteria: The program will read repeatedly a price of
Description:
You have been hired to help to develop a Python program that satisfy the following criteria:
The program will read repeatedly a price of an item and ends when the user enters a negative number, when done, the program should display the total, the average, the amount of discount, and the total after the discount. The amount discount is calculated as follow:
Total Less than 500: No discount
Total between 500 and 1000: 15% off discount
Total greater than 1000: 20% off the discount.
Note: This is an Individual Work, you are to use only concepts covered in class, predefined functions or libraries found online are NOT accepted.
Python!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started