Computer Science, asked by grewalsingh43551, 5 months ago

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 aryapandey216
0

Answer:

take the X expression

Explanation:

take the expression to input and output of the programming

Similar questions