0_0_22602397_179.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_22602397_179.cpp: In function 'int main()':
0_0_22602397_179.cpp:5:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n))
^
0_0_22602397_179.cpp:9:9: error: expected ';' before '{' token
{
^
0_0_22602397_179.cpp:9:9: error: expected primary-expression before '{' token
0_0_22602397_179.cpp:9:9: error: expected ')' before '{' token
0_0_22602397_179.cpp:14:24: error: 'printf' was not declared in this scope
printf("%d\n",j);
^
|