Computer Science, asked by Anonymous, 3 months ago

Rewrite the following switch statements using if-else statements.
int x = 3;
int y = 3;
switch (x+3){
case 3: y = 0; break;
case 6: y = 1;
default: y += 1;
}
System.out.println(y);

Answers

Answered by vedanth09
0

Answer:

qwertyuioplkjhgfdsazxcvbnm

Similar questions