import java.util.*;

Java
import java.util.*;
class cool
{
  Scaner sc = new Scanner(System.in);
  System.out.println("Enter a decimal");
  double a = sc.nextDouble();
  Systrem.out.println("The numver u enterd is " + a);
}
Source

Also in Java: