Computer Science, asked by rudrasingh26feb2007, 6 months ago

An air conditioned bus charges fare from the passengers based on the distance
* trevelled as per the traiff given below:
* Distance Travelled Fare
* Upto 10 Km Fixed charge Rs.80
* 11km to 10Km Rs.6/Km
* 21Km to 30Km Rs.5/Km
* 31Km and above Rs.4/Km
* Design a program to input distance travelled by the passenger .
* Calculated and display the fare to be paid.

Answers

Answered by shinchen08
1

Answer:

An air conditioned bus charges fare from the passengers based on the distance

* trevelled as per the traiff given below:

* Distance Travelled Fare

* Upto 10 Km Fixed charge Rs.80

* 11km to 10Km Rs.6/Km

* 21Km to 30Km Rs.5/Km

* 31Km and above Rs.4/Km

* Design a program to input distance travelled by the passenger .

* Calculated and display the fa


tarunnetrakar: mad
Similar questions