0_0_30559712_20094.cpp: In function 'int main()': 0_0_30559712_20094.cpp:14:13: error: 'flag' was not declared in this scope flag=i-2; ^