Solved

Which of the Following Is the Appropriate for Header for Varying

Question 2

Multiple Choice

Which of the following is the appropriate for header for varying the control variable over the following sequence of values: 3, 6, 9, 12?


A) for ( int i = 3; i <= 12; i++ )
B) for ( int i = 12; i > 0; i -= 3 )
C) for ( int i = 3; i <= 12; i -= 3 )
D) for ( int i = 3; i <= 12; i += 3 )
E) None of the above.

Correct Answer:

verifed

Verified

Related Questions