How does a while loop correspond with an If statement
4/14/2018 8:49:48 AM
they will be evaluated separately
but your question in vague, provide sample code
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++
Learn Playing. Play Learning
Send us a message