What is While Loop?

0

What is While Loop?

While loop is the Entry Control loop It's having 3 parts Initialisation,Condition,Increment/Decrement All 3 parts are optional. you can skip all or anyone according to your need or logic of your program. Syntax:-
initialisation;
while( conditions) { { //Loop body Instructions //this is a place where you write a set of statements perform again and again. increment/decrement }



Post a Comment

0Comments

We you have any doubt let me know :)

Post a Comment (0)
To Top