Computer Science, asked by SƬᏗᏒᏇᏗƦƦᎥᎧƦ, 5 months ago

What is The while loop ?
Give syntax .


Tomboyish44: Comments on our site should be used to collaborate on tasks - ask for more details, ask additional questions before giving an answer, etc. They can also be used to show your appreciation to the person who helped you. Kindly refrain yourself from misusing the comment section, asking for personal information is strictly prohibited.

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.
Anonymous: me?
Anonymous: no
Anonymous: whole time you think I am aatiya
Anonymous: I am muskan
Tomboyish44: End of all comments, if anyone posts irrelevant comments after this, strict actions will be taken on the persons doing so.

Answers

Answered by themakerqueries
0

The syntax of the do... while loop is: do { // statements inside the body of the loop } while (testExpression);

Answered by Oreki
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