What is wrong with the following switch statement? switch (temp)
{
case temp < 0 : cout << "Temp is negative.\n";
break;
case temp == 0: cout << "Temp is zero.\n";
break;
case temp > 0 : cout << "Temp is positive.\n";
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.