Computer Science, asked by puchkikundu9, 4 months ago

Differentiate between if statement and while loop statement.​

Answers

Answered by nysa123431
3

Well the if is a one time branching operation and the while loop is as the name implies a loop. Meaning an if statement gives you once the possibility to do something or not (or something else). Whereas a while loop does things as long as the condition is true.

Similar questions