Loops | SoloLearn: Learn to code for FREE!

+3

Loops

How does a while loop correspond with an If statement

4/14/2018 8:49:48 AM

Dom Harris

2 Answers

New Answer

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.