An air-conditioned bus charges fare from the passengers based on the distance travelled as per the tariff
given below.
DISTANCE COVERED CHARGES
up to 10 km 7.50/km
for next 20 km 8.50/km
for next 30 km 9.50/km
more than 60 km 10.50/km
Write a program in JAVA toinput passenger name and the distance covered. The program displays the following
information after calculating the amount.
MONEY RECEIPT
Passenger name ..........................................
distance travelled ............................................
Amount to be paid...............................
Answers
Answered by
0
Answer:
plzz mark me as brain list and Google your questions
Answered by
0
Answer:
khud ko nahi pata kya?.....................so
Similar questions
Computer Science,
2 months ago
Math,
2 months ago
Physics,
5 months ago
Biology,
5 months ago
Math,
11 months ago
Social Sciences,
11 months ago
Chemistry,
11 months ago