Write a java program to input distance travelled by a
passenger (in kilometres) and calculate total fare, using
following conditions-
Distance travelled (in kms) Rate/Km (in ₹)
1 – 10 5
11 – 20 4
More than 20 3
Answers
Answered by
0
Answer:
take the X expression
Explanation:
take the expression to input and output of the programming
Similar questions
English,
2 months ago
Business Studies,
2 months ago
Science,
2 months ago
English,
5 months ago
Geography,
5 months ago
Chemistry,
10 months ago
Business Studies,
10 months ago