Solved

You Might Choose to Use a Switch Statement Instead of Nested

Question 9

Multiple Choice

You might choose to use a switch statement instead of nested if-else statements if


A) the variable being tested might equal one of several hundred integer values
B) the variable being tested might equal one of a few integer values
C) there are two or more integer variables being tested, each one of which could be one of several hundred values
D) there are two or more integer variables being tested, each one of which could be one of a few values
E) None of these; you would never choose a switch statement instead of nested if-else statements under any circumstances.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents