Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
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
Decorators in python.
2 Votes
Need help
1 Votes
How to install Bcrypt here
1 Votes
What is happening with sololearn
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
CAN ANYONE TELL ME WHAT TO LEARN NEXT AFTER ADVANCED PYTHON CONCEPTS
1 Votes
How to start coding
0 Votes
How can I add images to my website
0 Votes
Programming language learning
0 Votes