0_0_18307941_31365.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_18307941_31365.cpp: In function 'int main()':
0_0_18307941_31365.cpp:5:22: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)&&n)
^
0_0_18307941_31365.cpp:21:18: error: 'printf' was not declared in this scope
printf("%d\n",z);
^
0_0_18307941_31365.cpp:26:9: error: expected '}' at end of input
return 0;
^
|