View Compilation Error
1_868_2885_2168.cpp:3:3: error: 'Scanner' does not name a type
Scanner kb = new Scanner(System.in);
^
1_868_2885_2168.cpp:4:3: error: 'System' does not name a type
System.out.println("ÇëÊäÈëx");
^
1_868_2885_2168.cpp:5:3: error: 'x' does not name a type
x = kb.nextInt();
^
1_868_2885_2168.cpp:6:3: error: 'System' does not name a type
System.out.println("ÇëÊäÈëy");
^
1_868_2885_2168.cpp:7:3: error: 'y' does not name a type
y = kb.nextInt();
^
1_868_2885_2168.cpp:8:3: error: 'z' does not name a type
z = (x + y)/2*(x - y)/2;
^
1_868_2885_2168.cpp:9:3: error: 'System' does not name a type
System.out.println(z);
^
|
|
|
|