A Pre-Paid taxi charges from the passenger as per the tariff given below:
Distance Rate
Up to 5 km 100
For the next 10 km 10/km
For the next 10 km 8/km
More than 25 km 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 :
please help me guys
Answers
Answered by
1
Answer:
Explanation:
refer to the picture
Attachments:
Similar questions
English,
2 months ago
Science,
5 months ago
Science,
10 months ago
Psychology,
10 months ago
Science,
10 months ago