Loops | Sololearn: Learn to code for FREE!



How does a while loop correspond with an If statement

4/14/2018 8:49:48 AM

Dom Harris

3 Answers

New Answer


they will be evaluated separately but your question in vague, provide sample code


correspond? both include a condition. The if statement selects an outcome depending on the condition being true or false. The while loop includes code that will be executed until the condition is no longer true.


Need a help with c++