On a ticket reservation counter and operator uses an application that takes as input the Name of the customer, the phone number, the start city, the destination city and the distance between the two cities. Write a Java program for this application that prints the amount that customer has to pay depending upon the conditions given below:- •If distance is less than *5 kilometre* then Rs. 1500 •If distance is between *6 to 20 km* then Rs. 5000 distance •If the distance is more than *20 km* then Rs. 10000. Note:- *Write this program using scanner class.*
Answers
Answered by
0
Answer:
I don't know mate .....sorry
i try answer your next question
Similar questions