if (a==0, b==0, c ==1)
9/6/2019 2:00:51 PM
Yes they can, however, you should not chain them with a comma, it would lead to only the right-most expression being decisive for the result of the entire condition. Instead, use logical operators:
Use logical operator '&&' instead of commas.
Some challenge questions may trick you with the comma separators you used but the logical ones are most common here.
GET THE FREE APP
Learn Playing. Play Learning
Send us a message