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

Still curious? Ask our experts.

Chat with our AI personalities

BeauBeau
You're doing better than you think!
Chat with Beau
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: What is a while statement in turbo c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp