Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Enter an int a;; On the java keyboard; The square of output a
Enter an int a;; On the java keyboard; The square of output a
Import java.io. *;

Public class spelling house

{

The public static void main(String[] args) throws IOException.

{

System.out.print ("Please enter integer data:");

InputStreamReader IR = new InputStreamReader(system . in);

BufferedReader br = new buffered reader (IR);

int a = integer . parse int(br . readline());

System.out.println ("The square of the integer data you just entered is"+a * a ");

}

}

Actually, this can be more standardized. Forget it. That's what you mean.