menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
How many times is the body of the loop executed? int i = 1; while (i<10) { cout << i; if (i == 5) break; i++; }
asked
Feb 16, 2022
3.7k
views
2
votes
How many times is the body of the loop executed?
int i = 1;
while (i<10)
{
cout << i;
if (i == 5)
break;
i++;
}
Computers and Technology
college
Vishwajit Palankar
asked
by
Vishwajit Palankar
4.3k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer:
The loop will run 5 times.
Rwst
answered
Feb 22, 2022
by
Rwst
4.1k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
4.6m
questions
6.0m
answers
Other Questions
Do you think social media should affect presidential elections
WHAT???? Pls help 20 points!!
The _______ hybrid uses 144 to 158 volt batteries.
Designing a mobile web page is a little different from designing a regular web page. Name at least three features that should be considered when designing a website that is mobile phone-friendly, and briefly
Type the correct answer in the box. Spell all words correctly. What kind of graph or chart does this image represent? The given image represents a (blank).
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org