Computer Science, asked by science7166, 5 months ago

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 kulsumchoudhay427
0

Answer:

plzz mark me as brain list and Google your questions

Answered by TONIVERYHARD
0

Answer:

khud ko nahi pata kya?.....................so

Similar questions