answersLogoWhite

0

A while statement is one type of looping statement.

by which we can start a loop in our programs.

while loop is precondition checking statement,

because it first check its condition then loop will go to its body part.

EX.

while(i>0)

{

//body part

}

here when i will >0 then it will check it body part and execute it and display

result.

User Avatar

Wiki User

12y ago

What else can I help you with?