+ 6
= is assignment operator If you want to check equality then use == Change line no. 5 to this: if(c >= 5 || d == 5){ Note that here I've used == instead of = This will remove the error
20th Mar 2019, 5:52 AM
Letsintegreat
Letsintegreat - avatar