Main.cc: In function 'int main()': Main.cc:10:23: error: expected ')' before ';' token if (x + y + z == n;5 * x + 3 * y == n){ ^ Main.cc:10:42: error: expected ';' before ')' token if (x + y + z == n;5 * x + 3 * y == n){ ^ Main.cc:10:38: warning: statement has no effect [-Wunused-value] if (x + y + z == n;5 * x + 3 * y == n){ ^ Main.cc:19:2: error: expected ';' before '}' token } ^