Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Collect Package Information: ( 5 points ) o Prompt the user to enter the weight of the package in pounds ( a positive float )
Collect Package Information: points
o Prompt the user to enter the weight of the package in pounds a positive float
o Prompt the user to enter the destination zone an integer, or representing
different shipping zones Calculate Shipping Cost: pointso Use multiple if elif, and else statements to calculate the shipping cost based on the following rules: For Zone : $ per pound.
For Zone : $ per pound.
For Zone : $ per pound.
Display an error message if the package weight is negative. Display an error message if the zone is not or Display the Result: pointso Print the calculated shipping cost in the format: "The shipping cost is $XXX
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