Ask Question

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

+3
Answers (1)
  1. 8 July, 12:33
    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?
Find an answer to your question 👍 “Which of the following will cause asyntax error? (0 < num) && (num ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers