Question: 3. what is the difference between condition-controlled and count-controlled loops?
Answer: A similar condition-controlled loop is a DO WHILE loop. ... With the WHILE loop the condition is checked at the beginning, and, with count > 4, the code is not executed and nothing is output. With the DO WHILE loop, we would get an output of 4 because the condition is checked after the print statement is executed.