import java.util.Scanner; public class Hoover { public static void main(String[] args) { Scanner vacuum = new Scanner(System.in); System.out.print("Enter a integer: "); String foo = vacuum.next(); double x = Double.parseDouble(foo); System.out.printf("The square of %s is %s.\n", x, x*x); } }