Computer Science, asked by seher2812, 2 months ago

Write a program to input number of kilometres travelled by a tourist and print

the fare amount on the screen based on the following conditions:


Distant travelled:


Rate per Kilometre:


For first kilometre
. (Rs. 20 is fixed)


Plus next 10 Km

5 per km


Plus next 20 Km

8 per km


Above 31 km

10 per km ​

Answers

Answered by sh123prajapat
0

Answer:

please like and follow me

Similar questions