Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
what is while?
–3
votes
asked
Jul 28, 2020
by
Adrian
(
260
points)
closed
Jul 28, 2020
by
Admin
closed as a duplicate of:
what is while?
#learning-coding
help-plz
2 Answers
0
votes
answered
Jul 28, 2020
by
rahul raju
(
140
points)
While is a iterative control statement.It is also called as Entry Controlled loop.While is faster than for loop.
The syntax of the while loop is
while(exp)
{
//statements;
1)condition checking
2)Body of the loop
}
commented
Aug 18, 2020
by
Abhishek Tanwar
(
100
points)
can we write increment/update as well as condition inside while bracket/in place of while expression ex:
while(i++>0)
{
body of loop
}
Please
log in
or register to add a comment.
0
votes
answered
Jul 28, 2020
by
Peter Minarik
(
101,420
points)
Duplicate of
http://question.onlinegdb.com/7859/
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...