Learning Java: Looping Control Structure (Using BlueJ): Looping Control Structures have an iterative nature, which implies repeating a process according to the need of the
program. Sometimes, we find such practical scenarios, where we may have to repeat a particular task many times.
Performing such a task by repeating the corresponding statements is a bad programming practice. Hence, to avoid the
repetition of the same code, Looping Control Structures are used.
A simple looping control structure has a condition and a block of statements. Till the time the specified condition remains
true, the compiler keeps executing the loop and the subsequent statements written in its body. The code repeated in
such a manner is called Iteration. A looping control structure contains the following parts: