Computer Science, asked by priyashagarwalindia, 6 months ago

. If originally x=2 and y=3, what is the value of x and y after executing the following code?

if(x+1==y)
y= y+1;
else
x++;

(a) x=3, y=4

(b) x=2, y=3

(c) x=2, y=4

(d) x=3, y=3




Answers

Answered by Ak02092004
0

Answer:

Option 'a' is right answer

Please follow me

Similar questions