0_0_25139399_26660.cpp: In function 'int main()': 0_0_25139399_26660.cpp:41:9: error: 'i' was not declared in this scope for (i=1;i<=sum;i++) ^