0_0_30987906_10057.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_30987906_10057.cpp: In function 'int main()':
0_0_30987906_10057.cpp:5:20: error: 'scanf' was not declared in this scope
while(scanf("%d",&n),n)
^
0_0_30987906_10057.cpp:13:18: error: 'printf' was not declared in this scope
printf("%d\n",sum);
^
|