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 }
What is While Loop?
May 18, 2023
0
We you have any doubt let me know :)