Question: Code in PYTHON language please The Fed-Ups Shipping company charges its customers based on either weight or volume of the package being shipped. At the
Code in PYTHON language please
The Fed-Ups Shipping company charges its customers based on either weight or volume of the package being shipped. At the counter, a friendly Fed-Ups agent measures the weight, length, width and height of your package then calculates shipping costs based on weight and volume and charges you the greater amount. Here are the tables the agent uses: Shipping costs based on volume Shipping costs based on weight Volume 2000 in3 2000 - 6000 in 6000 in3 Cost/in3 0.003/in 0.004/in $0.008/in Cost/lb $3/lb $4/lb S6/lb Weight 5- 10 lb 10 lb Write an algorithm & program that prompts a user for weight, length, width and height of a package then prints out the cost of shipping. Assume the weight is in pounds. Length, width and height are in inches. Two example of your outputs are Your shipping cost is S17.50. This is based on volume and Your shipping cost is $43.23. This is based on weight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
