Computer Science, asked by 2wrdwer, 1 year ago

int x=10, y=5,z;
if(x>y | | x==y)
z=++x + --y;
System.out.println

Answers

Answered by tamannaur
0

Answer:

11+4=15

Explanation:

++x=11 and --y=4

System.out.println(" "+z);

Answered by arsharcharles
1

Answer:

Explanation:

public class Hello

{

   public static void main(String []args)

   {

int x=10;

int y=5;

int z;

if(x>y || x==y)

{

z=++x + --y;

System.out.println(z+""+x+""+y);

}

}

}

ans:15114

Similar questions