Suppose we want to display hello on output screen five times in five different lines.
We might think of writing either five printf statements or one printf statement consisting of constant “hello\n” five times.
What if we want to display hello 500 times?
Should we write 500 printf statement or equivalent ?
It means that we need some programming facility to repeat certain works. Such facility in Programming Languages is available in the form Looping Statements.