mayur transport company charges for parcels as per the tariff of weight is up to 10 kg the charge is rupees 30 per kg .For the next 20 kg weight the charge is rupees 20 per kg. For the weight above 30 kg the charge is 15 rupees per kg. Write a Java program to the charge for parcel taking weight of parcel as input . Use scanner class for input
Answers
Answered by
16
Answer:
mayur transport company charges for parcels as per the tariff of weight is up to 10 kg the charge is rupees 30 per kg .For the next 20 kg weight the charge is rupees 20 per kg. For the weight above 30 kg the charge is 15 rupees per kg. Write a Java program to the charge for parcel taking weight of parcel as input . Use scanner class for input
Similar questions