import java.util.Scanner;
class A
{
public static void main(String args[])
{
double d;
System.out.println(“Enter a Number”);
Scanner inp=new Scanner(System.in);
d=inp.nextDouble();
System.out.println(d);
}
}
import java.util.Scanner;
class A
{
public static void main(String args[])
{
double d;
System.out.println(“Enter a Number”);
Scanner inp=new Scanner(System.in);
d=inp.nextDouble();
System.out.println(d);
}
}
Leave a Reply