- 4
I have a one big problem... Create a 1 java program for logically... Any java expect please help me!!!
Any java expect message me.... solve my problem! please I'm waiting for Ur response... You messenge to me ... I'll quickly response you... Waiting!!!!
2 ответов
+ 1
import java.lang.Exception;
import java.util.Scanner;
public class Program {
public static void main(String[] args) {
try {
Scanner read = new Scanner(System.in);
int x = read.nextInt();
int a = x*x;
System.out.println(a);
} catch (Exception e) {
System.out.println("Error!! ");
}
}
}
0
Hii bro... I'll expain a program message me dm