Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Global Courier Services will ship your package based on how much it weighs and how far you are sending the package. You need to write
Global Courier Services will ship your package based
on how much it weighs and how far you are sending the package.
You need to write a design tool and a program in C that calculates
the shipping charge based on weight and distance and the total cost.
The shipping rates are as follows:
BASED ON WEIGHT
Charge 10 dollars for all package weighing 10 pounds or less
Charge an additional 2 dollars per pound for each pound
above 10 (make sure you charge the first 10 dollars)
For example if the weight is 2 pounds then the cost based on
weight is 10 dollars
For example if the weight is 55 pounds then the cost based
on weight is 10 for the first 10 pounds and 80 dollars for
the extra weight.
BASED ON DISTANCE
Charge 5 dollars for each 500 miles or part thereof.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started