There are different types of loops that are used in computer programming. The kind of of loop that is suitable is the
while loop.
The while loop can simply be said to be a repeating if statement.
It used to repeat a particular block of code in any number of times, until a said point or condition is met.
When used in C programming, it often in repeated manner executes a target statement.
Learn more from
https://brainly.com/question/21298406