+ 3
Loops
How does a while loop correspond with an If statement
3 Answers
0
they will be evaluated separately
but your question in vague, provide sample code
+ 1
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.
- 2
Need a help with c++