An air-conditioned bus charges fare from the passengers based on the distance travelle
as per the tariff given below:
Fare
80
Distance Travelled
Up to 10 km
11 km to 20 km
21 km to 30 km
31 km and above
Fixed charge
6/km
5/km
*4/km
Design a program to input distance travelled by the passenger. Calculate and display
the fare to be paid.
Answers
Answered by
0
Answer:
SEE BELOW::
Explanation:
The velocity of an object is the rate of change of its position with respect to a frame of reference,and is a function of time.........Velocity is a physical vector quantity both magnitude and direction are needed to define it....
Similar questions