Biology, asked by keeratdhami855, 7 days ago

if x=4,y=0; then what will be output of following expression 1)y=x 2)y+=x 3)y-=x 4)y*=x

Answers

Answered by jeeyaverma407
0

Answer:

if(x>2){

if(y>2){

z=x+y;

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

}

}

else

System.out.println("x is "+x);

2. What is value of y after the following switch statement is executed?

x=3 ; y = 3;

swicth(x+3){

case 6:y = 1;

default:y +=1;

}

3. Use a switch statement to rewrite the following if statement

if(a==1)

Explanation:

please mark my answer as brainlist answer

Similar questions