Which of the following is the proper expression if the number x is between 1 and 100 or is negative?
A. 1 x 100 || x 0 A.
B. ((x 100) and (x > 1)) || (x 0)
C. ((x 100) && (x > 1)) && (x 0)
D.(1 x > 100) || (x 0)
Answer:B
Which of the following is the proper expression if the number x is between 1 and 100 or is negative?
A. 1 x 100 || x 0 A. B. ((x 100) and (x > 1)) || (x 0) C. ((x 100) && (x > 1)) && (x 0) D.(1 x > 100) || (x 0)
Explanation: x 100) + (x > 1)) || (x 0)