switch (phoneDigit)
{
case 1:
num = 1;
break;
case 2:
num = 2;
break;
case 3:
num = 3;
break;
case 4:
num = 4;
break;
default:
num = 0;
break;
}
-Looking at the example above,when phoneDigit has a value of 'Q',what value is stored in num?
A) 1
B) 0
C) Q
D) not enough information given
Correct Answer:
Verified
Q41: if (value1 > value2) largestOne = value1;
Else
If
Q48: if (a > 10)
if (b > 10)
if
Q51: switch (phoneDigit)
{
case 1:
num =
Q52: if (amount > 1000)
result = 1;
else
if (amount
Q53: if (aValue < largest ) result =
Q56: if (examScore > 89)
grade = 'A';
Q56: if (a > 10)
if (b > 10)
if
Q57: How can the compound conditional expression ((average
Q59: if (examScore > 89);
grade = 'A';
Using
Q60: Placing a semicolon onto the end of
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents