Ask Question
3 July, 11:21

Which of the following will cause asyntax error? (0 < num) && (num <12) 0 < num <120 < num&& num 0&& num <12

+1
Answers (1)
  1. 3 July, 13:24
    0
    The answer to this question is that none of the following will give syntax error. All of them will get executed.

    (0 < num) && (num <12)

    0 < num <12

    0 < num&& num < 12

    num > 0&& num <12

    There is no syntax error i have checked on the compiler also. But logically we take variable on the left side of the comparison operator and the value to the right of the operator.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following will cause asyntax error? (0 < num) && (num ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers