The shipping charge on a purchase of 23465 is


Write a program that gets the amount of a purchase from the user and then calculates the shipping charge, based on the following table:
$0.00 - $250.00: $5.00
$250.01 - $500.00: $8.00
$500.01 - $1,000.00: $10.00
$1,000.01 - $5,000.00: $15.00
over $5,000.00: $20.00
Sample output from program:
Enter a purchase amount to find out your shipping charges.

Please enter the amount of your purchase: 234.65
The shipping charge on a purchase of $234.65 is $5.00.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: The shipping charge on a purchase of 23465 is
Reference No:- TGS0911526

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)