//  Scott DeRuiter      10/14/2002
//  AsterixRect.java
//  Draws A Rectangle of Asterixes.

public class AsterixRect   
{
	public static void main ( String [] args )   
	{
		for ( int row=1;  row <= 40;  row++ )   
		{
			for ( int col=1;  col <= 8;  col++ )
				System.out.print("*");
			System.out.println( );
		}
	}
}

Back to Lesson 8 Examples

Back to Java Main Page