0

What's do-while sentence ?

Please answer my question

6th Dec 2018, 5:09 PM
dler
dler - avatar
2 Respostas
+ 8
Do { Your code } While(condition) Here Your code is if first executed and then while condition is check. If condition is true the code is executed again else we get out of loop. Here the best part is your code part is executed at least once even if your condition is false in the beginning only
6th Dec 2018, 5:18 PM
Rstar
Rstar - avatar
+ 7
Hello, 😊 Please, continue with the C++ tutorial you started and learn the basics! 👍 Here are some tips to make sure your question qualifies:  - Post only programming-related QUESTIONS and ANSWERS;  - SEARCH for similar QUESTIONS or ANSWERS before posting;  - Include relevant TAGS;  - Follow community RULES: https://www.sololearn.com/Content-Creation-Guidelines/ DO NOT  - Post spam/advertisement;  - Use inappropriate language. * Post general discussions and open-ended questions in your feed.
6th Dec 2018, 5:16 PM
Danijel Ivanović
Danijel Ivanović - avatar