0
Can we add if else statement in while loop?
If no then why?. Or if yes then how?
5 Answers
+ 2
Of course, the if statement will repeat while a condition is true. Also, make sure it has an end, otherwise, the loop will not end.
0
Thanks for the answer it helped me a lot
0
Thanks pav