LoopBreak3.java



public class LoopBreak3 {

    public static void main( String[] args ) {

        for( int n=___; ___<10; ___++ ) {
           int i = 0;
           int x = 1;
           while( true ) {

              if( x > 1000000 )
                  break;

              x *= ___;
              i++;
           }
           System.out.println( ___ + "**" + i + ">1000000" );
        }
    }
}