Programming Exercises

Apr 26 2009 7:47 AM

6.  Shipping Charges

The Fast Freigh Shipping Company charges the following rates:

Weight of Package                                 Rates per pound

2 pounds or less                                    $1.10

over 2 pounds but not more than 6 lbs.   $2.20

over 6 pounds but not more than 10 lbs.  $3.70

Over 10 pounds                                    $3.80

 

Design a program that asks the user to enter the weight of a package and then displays the shipping charges.

 


Answers (4)