Computer Science, asked by Ardon, 7 months ago

Rewrite the following code using switch statement int d=2; if(d==1) System.out.println(“ONE”); else if(d==2) System.out.println(“TWO”); else if(d==3) System.out.println(“THREE”); else if(d==4) System.out.println(“FOUR”);

Answers

Answered by Anonymous
18

Answer:

d=3

d=6

d=9

I think

plz mark as brain list plz

Similar questions