0_0_22720691_26687.cpp: In function 'int main()': 0_0_22720691_26687.cpp:42:4: error: 'g' was not declared in this scope if(g) ^ 0_0_22720691_26687.cpp:43:26: error: 'g' was not declared in this scope printf("\n");g++;} ^