if ((housing = 1) && (hours>=18))
housing = 1 is an assignment:
It assigns the value of one (1) to the "housing" variable.
To make this statement a
boolean use the "==" operator:
if ((housing == 1) && (hours >= 18))
// or
if (housing == 1 && hours >= 18)