0_0_33736590_11544.cpp: In function 'int main()': 0_0_33736590_11544.cpp:34:13: error: 'i' was not declared in this scope for(i=1,n=0;i<1001;i++) ^