Assignment 12: K.E. Carmel School, Amtala
Assignment 12: K.E. Carmel School, Amtala
Question 3:
A transport company transport parcel in two different mode, National and International & charges for the
parcels as per given tariff.
Weight National Charge International charge
Up to 10 kg Rs 20/kg Rs 35/kg
For the next 20 kg Rs 40/kg Rs 60/kg
For the next 12 kg Rs 55/kg Rs 70 /kg
More than 42 kg Rs 60/Kg Rs 80/kg
Write a program in JAVA to accept customer name, weight of parcel and mode of
delivery(National/International).Calculate total charge for parcel.Print total charge along with Customer’s
name, mode , weight of percel.