Break and Continue Statement

Опубликовано: 04 Февраль 2025
на канале: Tech & Learn
136
14

=============================================================

Hi,WELCOME TO MY TECH & LEARN YOUTUBE CHANNEL
_________________________________________________________

**If you like my videos, please share and subscribe to my channel.**
For more videos :-    / techlearnsrilanka  

BREAK Statement
===============

We saw the use of break in the switch statement. Another use of break is in loops, when the break statement is encountered inside a loop, the loop is immediately terminated and the program execution moves on to the next statement.

CONTINUE Statement
==================

The Continue statement is similar to the break statement, but instead of terminating the loop entirely, it skips the current iteration of the loop and continue with the next iteration.

#judedilanka
#techandlearn

Thanks and Best Regards.
TECH & LEARN.


=============================================================