0_0_34143182_13370.cpp:1:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_34143182_13370.cpp:3:9: error: expected ':' before 'static'
public static void main(String args[]) {
^
0_0_34143182_13370.cpp:3:26: error: 'String' has not been declared
public static void main(String args[]) {
^
0_0_34143182_13370.cpp:30:1: error: expected ';' after class definition
}
^
0_0_34143182_13370.cpp: In static member function 'static void Main::main(int*)':
0_0_34143182_13370.cpp:4:3: error: 'Scanner' was not declared in this scope
Scanner kb=new Scanner(System.in);
^
0_0_34143182_13370.cpp:5:3: error: 'String' was not declared in this scope
String sum;
^
0_0_34143182_13370.cpp:7:9: error: 'kb' was not declared in this scope
while(kb.hasNext()) {
^
0_0_34143182_13370.cpp:8:3: error: 'sum' was not declared in this scope
sum=kb.next();
^
0_0_34143182_13370.cpp:16:12: error: 'System' was not declared in this scope
if(f>g) System.out.printf("%c %c %c\r\n",c,b,a);
^
0_0_34143182_13370.cpp:18:13: error: 'System' was not declared in this scope
if(g>e) System.out.printf("%c %c %c\r\n",b,a,c);
^
0_0_34143182_13370.cpp:19:10: error: 'System' was not declared in this scope
else System.out.printf("%c %c %c\r\n",b,c,a);
^
0_0_34143182_13370.cpp:22:12: error: 'System' was not declared in this scope
if(e>g) System.out.printf("%c %c %c\r\n",c,a,b);
^
0_0_34143182_13370.cpp:24:13: error: 'System' was not declared in this scope
if(g>f) System.out.printf("%c %c %c\r\n",a,b,c);
^
0_0_34143182_13370.cpp:25:10: error: 'System' was not declared in this scope
else System.out.printf("%c %c %c\r\n",a,c,b);
^
|