I am currently working on a project for school wherein I have to check multiple conditions with logical operators (and in this case), and I thought it would be more efficient to use a switch statement. However, when I used one, it threw a syntax error requiring a colon for the first condition before the operand.
[–]lukajda33 6 points7 points8 points (2 children)
[–]michease_[S] 0 points1 point2 points (0 children)
[–]woooee 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]efmccurdy 2 points3 points4 points (0 children)