Practical Progeam List - Grade Ix - CA-2022-23
Practical Progeam List - Grade Ix - CA-2022-23
Practical Progeam List - Grade Ix - CA-2022-23
8. 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 :
(Slab based- Conditional statement)