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