The shipping charges per 500 miles are not prorated


To do: (SAMPLE OUTPUT AT THE BOTTOM) A software company sells a package that retails for $99. Quantity discounts are given according to the following table:

Quantity Discount
10-19 20%
20-49 30%
50-99 40%
100 or more 50%

Write a program named SoftwareSales that asks the user to enter the number of packages purchased. The discount is applied on the entire sales (ex 40 items would get a 30% discount on all 40 of them). The program should then display 
a. the dollar amount without the discount
b. the dollar amount of the discount (if any) and 
c. the total amount of the purchase after the discount.

To do: (SAMPLE OUTPUT AT THE BOTTOM) 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 named ShippingCharges that asks the user to enter the weight of a package and the miles shipped and then displays the shipping charges.  

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: The shipping charges per 500 miles are not prorated
Reference No:- TGS094955

Expected delivery within 24 Hours