Write a program in java to input distance travelled by a passenger.Calculate the distance and the fare to be paid. upto 10 km- fixed charge 80 rupees 11km to 12 km-6 rupees/km 21 to 30km-5rupees/km 31 to 40 km-4 rupees/km
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.