Main.cc: In function 'int main()': Main.cc:8:5: error: expected ';' before '}' token }else{ ^ Main.cc:10:5: error: expected ';' before '}' token } ^