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