Computer Science, asked by madhusudan10, 6 months ago

Q2. What will be the output of the following code statements?
integer x = 34.54, y = 20, Z = -5
print (y > 50 AND 2 > 10 or x > 30 )
a. O
b. 1
C. -1
d. 10

Answers

Answered by Anonymous
0

Answer:

10

Explanation:

Traverse through the string and check for the occurrences of c1 and c2. If c1 is found then replace it with c2 and else if c2 is found replace it with c1.

Answered by Tarnisha
0

Answer:

1

Explanation:

where y is less than 50 and also z. x only undergo the given rule so it will print 1.

Similar questions