Questions tagged [ifstatements]

The tag has no usage guidance.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

If statement: evaluating if my variable equals one of 2 values (C)

I am trying to evaluate if my two variables each match one of multiple values in an if statement. I'm trying: if ( ( variable1 == A || B ) && ( variable2 == C || D ) ) Error: use of ...
  • 1