Suppose that beta is an int variable. Consider the following C++ code:
cin >> beta;
switch (beta % 7)
{
case 0:
case 1:
beta = beta * beta;
break;
case 2:
beta++;
break;
case 3:
beta = static_cast
break;
case 4:
beta = beta + 4;
case 6:
beta = beta--;
break;
default:
beta = -10;
}
a. What is the output if the input is 11?
b. What is the output if the input is 12?
c. What is the output if the input is 0?
d. What is the output if the input is 16?
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.