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
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
Social Sciences,
2 months ago
Science,
2 months ago
English,
2 months ago
Math,
6 months ago
Math,
6 months ago
English,
11 months ago
Social Sciences,
11 months ago