Hi,
I was trying to solve a Project Euler question. find the largest palindrome from the product of two 3 digit number.

the idea was if i start from the largest i and j, and if it was a palindrome it would be the largest. And I would break from the loop. But it wouldn't work...

I had to use a boolean...so the question is? Does break not work ? It was in an if statement, but since the if was in a loop. It should still break?

I'm baffled here.
Is it ok if I post the code?