- 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!!!!

7th Sep 2021, 12:43 PM
VIGNESH S
VIGNESH S - avatar
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!! "); } } }
7th Sep 2021, 12:49 PM
SoloProg
SoloProg - avatar
0
Hii bro... I'll expain a program message me dm
7th Sep 2021, 12:54 PM
VIGNESH S
VIGNESH S - avatar