0_0_31050219_22476.cpp: In function 'int main()':
0_0_31050219_22476.cpp:9:1: error: 'sum' was not declared in this scope
sum+=n2;
^
0_0_31050219_22476.cpp:12:19: error: 'sum' was not declared in this scope
printf("sum=%d\n",sum);
^
0_0_31050219_22476.cpp:13:9: error: expected '}' at end of input
return 0;
^
|