Write an application that reads a distance in metres. The program will then convert the distance to kilometres, feet and inches, by calling methods. The converted distances will be printed.
? Write a method for each conversion ? toKilometres(), toFeet(), and toInches().
500 metres are
500 * 0.001 = 0.5 kilometres
500 * 3.281 = 1640.5 feet
500 * 39.37 = 19685 inches