Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote