C++ project need help!!!! Shipping Charges The Fast Freight Shipping Company cha
ID: 644696 • Letter: C
Question
C++ project need help!!!!
Shipping Charges
The Fast Freight Shipping Company charges the following rates:
___________________________________________________________________
Weight of Package (in Kilograms) Rate per 500 Miles shipped
2 KG or less $1.10
Over 2 Kg but not more than 6 Kg $2.20
Over 6 KG but not more than 10 Kg $3.70
Over 10 KG but not more than 20 KG $4.80
___________________________________________________________________
Write a program that asks for the weight of the package and the distance it is to
be shipped, and then displays the charges.
Input validation: Do not accept values of 0 or less for the weight of the package.
Do not accept weights of more than 20 Kg (this is the maximum weight the company
will ship). Do not accept distances of less than 10 miles or more than 3,000 miles.
These are the company's minimum and maximum shipping distances.
Explanation / Answer
Output:
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.