. . . . . . . . is a counter-controlled loop.

For..next loop
Do..while loop
While loop
If statement

The correct answer is: A. For..next loop

A for loop is a counter-controlled loop that is used to iterate a set of statements a specified number of times. The syntax for a for loop is as follows:

for (initialization; condition; increment) {
// statements to be executed
}

The initialization statement is executed once, before the loop starts. The condition statement is evaluated before each iteration of the loop. If the condition is true, the statements in the loop body are executed. After the statements in the loop body are executed, the increment statement is executed. The loop continues to iterate as long as the condition is true.

For example, the following for loop prints the numbers from 1 to 10:

for (int i = 1; i <= 10; i++) {
System.out.println(i);
}

The do-while loop is also a counter-controlled loop, but it is different from the for loop in that the condition is evaluated at the end of each iteration, rather than at the beginning. This means that the statements in the loop body will always be executed at least once, even if the condition is false. The syntax for a do-while loop is as follows:

do {
// statements to be executed
} while (condition);

The while loop is another type of counter-controlled loop, but it is different from the for loop and the do-while loop in that it does not have an initialization statement. The condition statement is evaluated before each iteration of the loop, and if the condition is true, the statements in the loop body are executed. The loop continues to iterate as long as the condition is true. The syntax for a while loop is as follows:

while (condition) {
// statements to be executed
}

The if statement is a control flow statement that is used to execute a block of statements if a condition is true. The syntax for an if statement is as follows:

if (condition) {
// statements to be executed
}

If the condition is true, the statements in the if block are executed. If the condition is false, the statements in the if block are skipped.

In conclusion, the correct answer to the question “Which of the following is a counter-controlled loop?” is A. For..next loop.