0_0_28451499_18107.cpp: In function 'int main()':
0_0_28451499_18107.cpp:4:12: error: expected initializer before 'i'
int n i;
^
0_0_28451499_18107.cpp:8:10: error: 'i' was not declared in this scope
for(i=1;i<=n;i++);
^
0_0_28451499_18107.cpp:8:17: error: 'n' was not declared in this scope
for(i=1;i<=n;i++);
^
0_0_28451499_18107.cpp:10:17: error: 'i' was not declared in this scope
sum+=i;
^
|