Create C program to calculate a parcel delivery cost. The program prompts user to enter the weight of a parcel and calcu
Posted: Wed Apr 27, 2022 2:58 pm
Create C program to calculate a parcel delivery cost. The
program prompts user to enter the weight of a parcel and calculate
the cost of delivery based on the rate stated in the following
table. Print the delivery charge for that parcel.
Parcel weight (kg)
Cost per kg (RM)
< 2.5
3.50
2.5 – 5
2.80
> 5
2.30
program prompts user to enter the weight of a parcel and calculate
the cost of delivery based on the rate stated in the following
table. Print the delivery charge for that parcel.
Parcel weight (kg)
Cost per kg (RM)
< 2.5
3.50
2.5 – 5
2.80
> 5
2.30