Question: Design an algorithm that will receive the weight of a parcel and determine the delivery charge for that parcel. Charges are calculated as follows: Parcel
Design an algorithm that will receive the weight of a parcel and determine the delivery charge for that parcel. Charges are calculated as follows: Parcel weight (kg) Cost per kg ($) <2.5 $3.50 per kg 2.5-5 kg $2.85 per kg >5 kg $2.45 per kg
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
