wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Add a pair of parentheses to each expression so that it evaluates to True.

a) 0 == 1 == 2

b) 2 + 3 == 4 + 5 == 7

c) 1 < -1 == 3 > 4

Open in App
Solution

a) ( 0 == (1==2))

b) (2 + (3 == 4) + 5) == 7

c) (1 < -1) == (3 > 4 )

flag
Suggest Corrections
thumbs-up
24
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
The Number Line
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon