Code skipping run : <pre><code>public class A{
public static void main(String[] args) {
    int a;
    int b;int c=0;
    for(a=100;a&lt;=999;a++){
        for(b=100;b&lt;=999;b++){
            int n=a*b;
            int temp=n;
            while(n&gt;0){
                int r=n%10;
                c=(c*10)+r;
                n=n/10;
            }
            if(temp==c){
                System.out.println(c);
            }
        }
    }
    }
}
</code></pre>

<p>The code compiles well but while running it just skips off everything and exits. Help please.
P.S. Problem 4 ProjectEuler</p>
