Computer Science, asked by bhargavinaik00, 4 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 to input 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 darunnataraj005
0

Answer:

Java programming

Explanation:

java programming

Answered by AmolGavhane
0

Answer:

how many typs of loops in c

Similar questions