Computer Science, asked by ps05101993, 7 months ago




20. What would following code fragments result in ? Given x = 3.
(a) 1<x (b) x 4 (C) x==3 (d) x==3.0 (e) "Hello"
(7) "Hello" > "hello"
(8) 4/2 = 2.0 (h) 4/2 = 2
(i) x < 7 and 4 > 5.​

Answers

Answered by shriya619
2

Explanation:

a) 1<x : True

b) x>=4 : False

c) x == 3 : True

d) x == 3.0 : True

e) “Hello” == “Hello” : True

f) “Hello” > “hello” : False

g) 4/2 == 2.0 : True

h) 4/2 == 2 : True

i) x<7 and 4>5 : False

Similar questions