how to understand while loop in real life give some examples
General doubt in while loop
Hello @viknesh1375 while loop is the one loop which first check the condition whether it is a valid condition then if it is valid condition the part in your while loop will execute.
and if the condition is not valid then the while loop will not execute.
suppose if you run the while loop for printing the infinite pattern there you will put the condition that is which will be always true on evaluation.
Happy LEARNING!!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.