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
}
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Jul 28, 2020
by
Peter Minarik
(
69,270
points)
Duplicate of
http://question.onlinegdb.com/7859/
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...