Computer Science, asked by leelavathy6008, 3 months ago

What will be the value of x, y and z in the following program? Write the answer in digits not alphabet.

x = 0;

y = 0;

z = 1;

if(x)

{

x--;y=x+2;

}

else x++;​

Answers

Answered by aishwaryjain333
1

Answer:

X = 0

Y = 0

Z = 1

Explanation:

Similar questions