An air-conditioned bus charges fare from the passengers based on the
distance travelled as per the tariff given below:
Distance Travelled Fare
Up to 10 km Fixed charge ₹80
11 km to 20 km ₹6/km
21 km to 30 km ₹5/km
31 km and above ₹4/km
Design a program to input distance travelled by the passenger. Calculate
and display the fare to be paid.
Answers
Answered by
1
aano parayaan saugaryam illa
Similar questions