Swati Mishra
Content Writer
While loop continues in the program until the condition becomes false. The evaluating condition has to be a logical expression and it is necessary to return True or False value.
Syntax
While (expression)
{
Statements
}
Syntax
While (expression)
{
Statements
}