0_0_6445950_28789\Main.java:1: class, interface, or enum expected
01.import java.util.Scanner;
^
0_0_6445950_28789\Main.java:2: class, interface, or enum expected
02.import java.math.BigInteger;
^
0_0_6445950_28789\Main.java:3: class, interface, or enum expected
03.public class Main1002 {
^
0_0_6445950_28789\Main.java:4: illegal start of type
04. public static void main(String[] args) {
^
0_0_6445950_28789\Main.java:4: ';' expected
04. public static void main(String[] args) {
^
0_0_6445950_28789\Main.java:5: not a statement
05. Scanner sc = new Scanner(System.in);
^
0_0_6445950_28789\Main.java:5: ';' expected
05. Scanner sc = new Scanner(System.in);
^
0_0_6445950_28789\Main.java:6: not a statement
06. boolean flag = false;
^
0_0_6445950_28789\Main.java:6: ';' expected
06. boolean flag = false;
^
0_0_6445950_28789\Main.java:7: not a statement
07. int n = sc.nextInt();
^
0_0_6445950_28789\Main.java:7: ';' expected
07. int n = sc.nextInt();
^
0_0_6445950_28789\Main.java:8: not a statement
08.
^
0_0_6445950_28789\Main.java:8: ';' expected
08.
^
0_0_6445950_28789\Main.java:10: not a statement
10. BigInteger a = sc.nextBigInteger();
^
0_0_6445950_28789\Main.java:10: ';' expected
10. BigInteger a = sc.nextBigInteger();
^
0_0_6445950_28789\Main.java:11: not a statement
11. BigInteger b = sc.nextBigInteger();
^
0_0_6445950_28789\Main.java:11: ';' expected
11. BigInteger b = sc.nextBigInteger();
^
0_0_6445950_28789\Main.java:12: not a statement
12.
^
0_0_6445950_28789\Main.java:12: ';' expected
12.
^
0_0_6445950_28789\Main.java:14: not a statement
14. System.out.println();
^
0_0_6445950_28789\Main.java:14: ';' expected
14. System.out.println();
^
0_0_6445950_28789\Main.java:15: not a statement
15. }
^
0_0_6445950_28789\Main.java:15: ';' expected
15. }
^
0_0_6445950_28789\Main.java:16: not a statement
16.
^
0_0_6445950_28789\Main.java:16: ';' expected
16.
^
0_0_6445950_28789\Main.java:18: not a statement
18. System.out.println(a + " + " + b + " = " + a.add(b));
^
0_0_6445950_28789\Main.java:18: ';' expected
18. System.out.println(a + " + " + b + " = " + a.add(b));
^
0_0_6445950_28789\Main.java:19: not a statement
19. flag=true;
^
0_0_6445950_28789\Main.java:19: ';' expected
19. flag=true;
^
0_0_6445950_28789\Main.java:20: not a statement
20. }
^
0_0_6445950_28789\Main.java:20: ';' expected
20. }
^
0_0_6445950_28789\Main.java:21: not a statement
21. }
^
0_0_6445950_28789\Main.java:21: ';' expected
21. }
^
0_0_6445950_28789\Main.java:22: illegal start of type
22.}
|