Write a Java program to convert miles to kilometers. The formula to convert 1 Kilometer = 0.621371 Miles.
package Remaining; import java.util.Scanner; public class MileToKM { private static Scanner sc; public static void main(String[] args) { sc= new Scanner(System.in); System.out.print("Please Enter the Miles = "); double mile = sc.nextDouble(); double kilometer = mile * 1.6093434; System.out.println("Distance in Miles = " + mile + " Miles"); System.out.println("Distance in KiloMeters = " + kilometer + " KiloMeters"); } }