Question
The RSC Bookstore is having a three-day sale during which the price of any unsold t-shirt drops 15 percent each day. For example, t-shirt that
The RSC Bookstore is having a three-day sale during which the price of any unsold t-shirt drops 15 percent each day. For example, t-shirt that costs $15.00 on the first day costs 15 percent less, or $12.75, on the second day. On the third day, the same item is 15 percent less than $12.75, or $10.84. Design a python script that will input 5 different t-shirt prices. Output is the original price of each item first day, discounted on day2 and discounted on day3. Print the original price and the price on the 2nd and 3rd days.
1. Ask the user to input the price.
2. Use a loop to request each input a. use a While loop ask the user to enter 999 to end.
3. Print the 3 prices for each discount for each t-shirt price the user inputs
. 4. See the attached image of the output results when the user enters the prices below
. 5. Use a function. Depending upon which part you put in the function will determine whether you need to pass the input into the function
6. include pseudcode
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