0_0_24121988_21491.cpp: In function 'int main()': 0_0_24121988_21491.cpp:31:4: error: expected ';' before 'if' if(state) ^ 0_0_24121988_21491.cpp:37:4: error: 'else' without a previous 'if' else ^