Inside a "for-loop1", I have another "for-loop2"
For a given condition I want the "for-loop2" to terminate. So I used break. But it would terminate both for loops. I dont want to terminate the entire for loop("for-loop1"), I want to terminate the inner for loop only.