Main.cc: In function ‘int main()’: Main.cc:15:5: error: expected ‘;’ before ‘}’ token }else{ ^ Main.cc:17:5: error: expected ‘;’ before ‘}’ token } ^