+ 1

Whys this coming up no output

int day = 3; switch(day) { case 1: System.out.println("Monday"); break; case 2: System.out.println("Tuesday"); break; case 3: System.out.println("Wednesday"); break; }

23rd Apr 2018, 7:37 PM
Cypher
Cypher - avatar
1 Answer
23rd Apr 2018, 7:40 PM
Emma