A shipping company uses the following function to calculate the cost (in dollars) of shipping based on

Question:

A shipping company uses the following function to calculate the cost (in dollars) of shipping based on the weight of the package (in pounds).

image

Write a program that prompts the user to enter the weight of the package and display the shipping cost. If the weight is greater than 50, display a message ?the package cannot be shipped.?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: