0_0_36232173_11965.cpp:4:7: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d",&n);
^
0_0_36232173_11965.cpp:5:3: error: expected unqualified-id before 'for'
for(;n>0;n--)
^
0_0_36232173_11965.cpp:5:8: error: 'n' does not name a type
for(;n>0;n--)
^
0_0_36232173_11965.cpp:5:12: error: 'n' does not name a type
for(;n>0;n--)
^
0_0_36232173_11965.cpp:11:1: error: expected declaration before '}' token
}
^
|