- Loops reduce code repetition, improve readability, and make programs scalable for large tasks.
- An infinite loop occurs when the loop condition never becomes false.
break- exits the loop completelycontinue- skips current iteration and moves to next
- If the condition is always true, the loop will run forever → infinite loop