Computer Science, asked by krrishsingh0082, 4 months ago

A computerised bus charges fare from each of its passengers based on the distance travelled

as per the tariff given below:-

Distance(in km) Charges

First 10 km Rs. 50

Next 15 km Rs.Rs.4.50/km

More than 25 km Rs. 4.00/km

As the passenger enters the bus, the computer prompts ‘Enter distance you intend to travel’.

On entering the distance, it prints the ticket and the control goes back for the next passenger.

At the end of journey, the computer prints the following :-

1) The number of passenger travelled. 2) Total fare received.

Write a program to ​

Answers

Answered by ganuragsingh4
0

Answer:

good night gdhyrd jijhcd cxdd

grsfhj

tehjm

tdhik

rtjj historicity

division

dictionary

Gucci

Guzman

fahmida dhudh fresh dhudh

hai Dutch

  • Dutch happy fresh
Similar questions