0_0_30773454_29443.cpp:1:1: error: 'Scanner' does not name a type
Scanner sc=new Scanner(System.in);
^
0_0_30773454_29443.cpp:2:15: error: 'sc' was not declared in this scope
int n=sc.nextInt();
^
0_0_30773454_29443.cpp:3:9: error: expected unqualified-id before 'while'
while(n-->0){
^
0_0_30773454_29443.cpp:8:13: error: 'System' does not name a type
System.out.println(s);
^
0_0_30773454_29443.cpp:9:9: error: expected declaration before '}' token
}
^
|