Doubt in peogram

it is written that in break statement that it will take to line 21. but i think it will take to 23

hi @satyamsingla, yes u are right , the purpose of break is to terminate the loop from so when no%7 ==0 is true then it will break out of loop without printing no

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.