how would I go about creating a program to calculate shipping charges?
i.e. If the order weight is less than 8 ounces, there is a flat rate charge of $2.00.
If the order weight is between 8 ounces and 32 ounces, the charge is $2.00
plus $0.75 for each ounce, or part thereof, over 8 ounces.
If the order weight is greater than 32 ounces, the charge is $20.00 plus
$1.15 for each ounce over 32 ounces.
I would now how to the only problem is it excepts pounds and ounces
so someone can put in 0.5 pounds and it should be 2.00 also
i.e. If the order weight is less than 8 ounces, there is a flat rate charge of $2.00.
If the order weight is between 8 ounces and 32 ounces, the charge is $2.00
plus $0.75 for each ounce, or part thereof, over 8 ounces.
If the order weight is greater than 32 ounces, the charge is $20.00 plus
$1.15 for each ounce over 32 ounces.
I would now how to the only problem is it excepts pounds and ounces
so someone can put in 0.5 pounds and it should be 2.00 also