196k views
5 votes
A mistake programmers often make with loops is that they ____.

a. neglect to initialize the loop control variable prior to entering the loop body
b. increment the loop control variable inside of the loop body
c. validate data to ensure values are the correct data type or that they fall within an acceptable range
d. enclose the inner loop entirely within the outer loop in a nested loop

1 Answer

6 votes

Answer: a. neglect to initialize the loop control variable prior to entering the loop body

Step-by-step explanation:

User Djeli
by
8.1k points