ForTest2.java



public class ForTest2 {

    public static void main( String[] args ) {

        for( int i=1; i<=20; i++ ) {
            System.out.println( "i*i=" + i*i );
        }
    }
}