I am in a nested loop searching for codintion to be true and when condition becomes true i want to terminate the whole nested loop and want to come outside the nested loop How to achieve this
i am trying to find the smallest pythagoras pair in this
Pythagoras triplet

u can do it like this…
hi… do u still have any doubts??
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.