0_0_15737646_15988.cpp: In function 'int main()': 0_0_15737646_15988.cpp:7:10: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^ 0_0_15737646_15988.cpp:13:17: error: 'print' was not declared in this scope print("%d\n",sum); ^