0_0_34527372_26451.cpp: In function 'int main()': 0_0_34527372_26451.cpp:6:7: error: 'i' was not declared in this scope {for(i=1;i<=n;i++) ^ 0_0_34527372_26451.cpp:10:14: error: 'sum' was not declared in this scope printf("%d",sum); ^