- 1
Why wont this work switch (fatness) { case 100: System.out.println("100");
2 ответов
+ 2
We need more context to understand what happened in your code.
But first, check if your case sentence is equal to the type of the variable and put the break; in each case
+ 1
Thx