Computer Science, asked by Aqsakhan49, 6 months ago

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 :​

Answers

Answered by keyboardavro
19

Answer:

Explanation:

refer to the attchment

Attachments:
Similar questions