Computer Science, asked by debanjanmondal5509, 9 months ago

give the output of the following :
int x = 10, y=5,z;
if (x>y || x==y)
z = ++x + --y ;
System.out.println(z+", " +x+ ", " +y);​

Answers

Answered by Anonymous
9

Answer:

z=++x + --y

=11+4

=15

x=11

y=4

Output:

15,11,4

hope it helped you:)

Answered by geniusOOPP
3

Answer:

OUTPUT : - 15, 11, 4

Explanation:

z = 11 + 4

= 15

z = 15

x = 11

y = 4

Similar questions