Write a Java program, computerised bus charges fare from each of its passengers based on the distance travelled as per the tariff given below:
Distance (in Km) First 5 km
Next 10 km
Next 25 km More than 50km
charges Rs. 80/-
Rs10/- km Rs.8/- km Rs.6/- km
Find the amount to be paid for the ticket by the passenger.
Answers
Answered by
0
Answer:
the answer is to be 100 eupeesper ticket and hpe you like it
Similar questions