InterviewSolution
Saved Bookmarks
| 1. |
A pre-paid taxi charges from the passenger as the tariff given below:up to 5km Rs.100 for the next 10km Rs. 10/km for the next 10km Rs. 8/km more than 25km Rs. 5/km Wap 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:in java |
| Answer» | |