0_0_21590545_15546.cpp: In function 'int main()': 0_0_21590545_15546.cpp:16:9: error: 'i' was not declared in this scope cout<<i<<endl; ^