converting kilometers in miles using java

Published: 02 October 2023
on channel: Himanshu dubey
186
5

source code::

import java.util.Scanner;
public class calc {

public static void main(String[] args) {

Scanner sc = new Scanner(System.in) ;

System.out.print("enter the value in kilometer");
float a = sc.nextInt();
System.out.print(a*0.621371+" miles");
}

}


On this page of the site you can watch the video online converting kilometers in miles using java with a duration of hours minute second in good quality, which was uploaded by the user Himanshu dubey 02 October 2023, share the link with friends and acquaintances, this video has already been watched 186 times on youtube and it was liked by 5 viewers. Enjoy your viewing!