0_0_26578164_13161.cpp:8:5: error: stray '\' in program
printf(%d\n,sum);
^
0_0_26578164_13161.cpp: In function 'int main()':
0_0_26578164_13161.cpp:4:11: error: expected initializer before 'sum'
int i sum;
^
0_0_26578164_13161.cpp:5:5: error: 'sum' was not declared in this scope
sum=0;
^
0_0_26578164_13161.cpp:6:9: error: 'i' was not declared in this scope
for(i=0;i<=100;i++)
^
0_0_26578164_13161.cpp:8:12: error: expected primary-expression before '%' token
printf(%d\n,sum);
^
0_0_26578164_13161.cpp:8:13: error: 'd' was not declared in this scope
printf(%d\n,sum);
^
|