. A pre-paid taxi charges from the passenger as per the tariff given below:
DistanceRateUp to 5 kmRs. 100For the next 10 kmRs. 10 / kmFor the next 10 kmRs. 8 / kmMore than 25 kmRs. 5 / km
Write a program to input the distance covered and calculate the amount paid by the passenger. The program displays the printed bill with the details given below:
Taxi No. ________
Distance covered ________
Amount ________
Answers
Answered by
3
Answer:
Which programming language do you want ?
Similar questions