What is The while loop ?
Give syntax .
Answers
Answered by
0
The syntax of the do... while loop is: do { // statements inside the body of the loop } while (testExpression);
Answered by
4
While Loop
It is an unfixed iterative type. It executes a set of instructions till a given condition is true.
The 'while loop' is also termed as 'Entry Controlled loop' or 'Entry Restricted loop'.
Syntax
ㅤwhile ( condition ) {
ㅤㅤㅤ// Statements to be executed
ㅤ}
Similar questions
Posting comments that are against the terms of use further will result in strict actions being taken on the person/s doing so, please be advised.