Question: Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if

 Write a program that asks the user to enter the number

Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Format output with 2 decimals and a comma. Step 1: Use print statements to print output the entire table chart Step 2: Ask for (input statement) the \# of packages ordered and display discount (if any) and the total of the purchase. Step 3: Must use elif statements. (see ch 3 PowerPoint slide 43-44 for help) If the user types a negative \# - must give an error message. Do not display any calculations. (see ch 3 PowerPoint slide 43 for help) Sample run: Please enter the number of packages ordered: 55 YourBillis:Yoursaved:3,850.001,650.00

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!