Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
You are to write a short C program. The program will input two numbers: 1) number of miles to ship a package, and 2) the weight...Asked by med
You are to write a short C program.
The program will input two numbers:
1) number of miles to ship a package,
2) and the weight of the package
You are to computer the price to ship the package.
The formula is as follows.
If the weight of the package is <= 10 pound this the rate is $10.
If the package is over 10 pounds then the rate is $10 plus 50 cents for each pound over 10.
In addition you are to add $5.00 for each 500 miles (or part of) shipped.
The program will input two numbers:
1) number of miles to ship a package,
2) and the weight of the package
You are to computer the price to ship the package.
The formula is as follows.
If the weight of the package is <= 10 pound this the rate is $10.
If the package is over 10 pounds then the rate is $10 plus 50 cents for each pound over 10.
In addition you are to add $5.00 for each 500 miles (or part of) shipped.
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.