An IT technician is writing a program that needs to perform a task 10 times. Which of the following code structures should the technician use to repeat the task exactly 10 times?
while loop without a counter or condition that stops at 10
switch statement evaluating a single case
for loop
if statement
do-while loop that checks a condition unrelated to the iteration count after executing the block