0_0_34627298_15458.cpp: In function 'int main()':
0_0_34627298_15458.cpp:11:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF && n!=0){
^
0_0_34627298_15458.cpp:11:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF && n!=0){
^
0_0_34627298_15458.cpp:31:26: error: 'printf' was not declared in this scope
printf("%d\n",sum);
^
|