Firstly, "=" is an assignment operator, not a comparison. Equality is tesed for with "==" instead.
Secondly, you need the AND or OR operator: && or ||
a AND b
is true only if both conditions
- otherwise it returns
a OR b
is true only if either condition
- it returns
only if both are false.
if (a == 1 && b == 2 && c == 3)
If this isn't what you meant, then you need to explain in a lot more detail exactly what you need!