Answer to Question #82046 in C++ for Jack M MacDougall

Question #82046
-Weight of Package (in Kilograms) = Rate per 300 miles shipped
-2 kg or less = $1.20
-Over 2 kg but not more than 6 kg = $2.20
-Over 6 kg but not more than 10 kg = $3.80
-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, then displays the charges with two decimal places. Input Validation: Do not accept values of 0 or less for the weight of the package. Do not accept weight 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.
1
Expert's answer
2018-10-15T04:00:14-0400
Dear Jack M MacDougall, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS