Solved

Which of the Following For-Loop Control Headers Results in Equivalent

Question 20

Multiple Choice

Which of the following for-loop control headers results in equivalent numbers of iterations:
a) for ( int q = 1;q <= 100;q++ )
b) for ( int q = 100;q >= 0;q-- )
c) for ( int q = 99;q > 0;q -= 9 )
d) for ( int q = 990;q > 0;q -= 90 )


A) A and B.
B) C and D.
C) A and B have equivalent iterations and C and D have equivalent iterations.
D) None of the loops have equivalent iterations.

Correct Answer:

verifed

Verified

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

Related Questions