In setting up a website's backend server, the developer wants to run a specific task 10 times. Which structure would be most appropriate to use in this scenario?
A for
loop that iterates 10 times
A do-while
loop that executes at least once and then checks a condition
A while
loop that continues until an external condition changes
An if
statement that checks if the task has been done 10 times