Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
hi, me newbie, started last day, right now I wrote a code using "do", the out is 2,4,6, while condition is <5. why or how output is exceeding 5. thanx in advance int a=2; do { cout<<a <<endl; a+=2; } while (a <5);
c++
0 Votes
5 Answers
25th Jun 2016, 5:38 PM
Abdullah
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, Iâm getting into socket programming with C++
0 Votes
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Iâm new someone can help me
0 Votes