Shipping Charges
The Fast Freight Shipping Company charges the following rates:
Weight of Package | Rate per 500 Miles Shipped |
2 pounds or less | $1.10 |
Over 2 pounds but not more than 6 pounds | $2.20 |
Over 6 pounds but not more than 10 pounds | $3.70 |
Over 10 pounds | $3.80 |
The shipping charges per 500 miles are not prorated. For example, if a 2-pound package is shipped 550 miles, the charges would be $2.20. Write a program that asks the user to enter the weight of a package and then displays the shipping charges.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.