Marta is creating a program that will guide the user through a series of physical exercises. She wants the program to coach the user to do 10 push-ups.

Which kind of loop should be used?
(1 point)
• binary loop
• condition-controlled loop
• count-controlled loop
• interface loop

1 answer

For Marta's program to guide the user through a specific number of push-ups (in this case, 10), a count-controlled loop would be the most appropriate choice. This type of loop is used when you know in advance how many times you want to execute the loop, making it ideal for situations like counting repetitions of an exercise.