Question: Cosc 1336 Programming Fundamentals I Program 5 Decision Structures A software company sells a package that retails for $99. Quantity discounts are given according to

Cosc 1336 Programming Fundamentals I Program 5 Decision Structures A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Quantity Discount 10 19 20% 20 49 30% 50 69 35% 70 99 40% 100 or more 50% Write a program that asks for the number of units sold and computes the total cost of the purchase and the saving due to the discount applied. The program should also display the number of units purchased and the discount in percentage. The output should include the following text. Number of units purchased is: Discount applied is: Total saving due to discount is: The total cost of the purchase is: Do NOT use any logical operator in the program, you will not receive credit for the program if you do. Run the program three times with 5, 59, and 110 as the user input for the number of units purchased. Save the output as Program5-output (Do a Save As in the Python Shell Window and it will save as a py file See Appendix B of your Textbook for more details). Create a folder named, Fullname_Program5. Copy your source code and the output file to the folder. Zip the folder, as a zip file, and upload it to Blackboard. answer with python including every steps details

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!