A condition-controlled loop will keep repeating until a specific condition is met while a count-controlled loop will run a specific number of times. It would be better to use a count-controlled loop when performing a task that has a pre-known amount of loops.

For example:

// Printing the alphabet

int count = 0

char letter = 'a'

while ( count < 26 )

print letter

a ++

count ++

endwhile

It would be better to use a condition controlled loop when waiting for an event to happen to terminate the while or the amount of loops to run depends on another variable.