Question: programming language: python A bakery sells loaves of bread for $3.49 each. Day old bread is discounted by 60 percent. Write a program that begins

programming language: pythonprogramming language: python A bakery sells loaves of bread for $3.49 each.

A bakery sells loaves of bread for $3.49 each. Day old bread is discounted by 60 percent. Write a program that begins by reading the number of loaves of day-old bread being purchased from the user. Then your program should display the: Regular price for the bread The discount because it is a day old The total price. Reading input: 1 mark All of the values should be displayed using two decimal places, and the decimal points in all of the numbers should be aligned when reasonable values are entered by the user. Declare the bread price and the discount amount as constants. Include appropriate comments throughout your code including a header comment to briefly describe the purpose of your code

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!