What is wrong with the following switch statement?
// This code has errors!!!switch (temp){case temp<0 : System.out.println("Temp is negative."); break;case temp = 0: System.out.println("Temp is zero."); break;case temp > 0 : System.out.println("Temp is positive."); break;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.