if (a > 10)
if (b > 10)
if (c > 10)
result = 1;
else
if (b > 100)
result = 2;
else
result = 3;
else
result = 4;
else
result = 5;
-What is stored in result when a is equal to zero,b and c are equal to 100?
A) 1
B) 3
C) 4
D) 5
Correct Answer:
Verified
Q42: What is the rule for lining up,
Q43: When you place an if statement within
Q46: Which of the following statements regarding curly
Q50: When a single variable may need to
Q51: switch (phoneDigit)
{
case 1:
num =
Q52: The switch statement case value can evaluate
Q52: if (amount > 1000)
result = 1;
else
if (amount
Q53: switch (phoneDigit)
{
case 1:
num =
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