Programm de convertisseur KM à KM à Java

import java.util.Scanner;



public class Rohit{
    public static void main (String[]args){

      Scanner sc = new Scanner(System.in);
      System.out.println("Enter the Distance in Miles: ");
      float miles = sc.nextFloat();

      float km = (float)(1.609344 * miles);  
      System.out.println(km);

    }
}
Rohit saha