public class MultiplicationTable
{
public static void main( String[] args)
{
Integer[][] table = new Integer[10][5];
for( int r=0; r < table.length; r++)
{
for( int c=0; c < table[0].length; c++)
{
table[r][c] = r*c;
} // end inner for
} // end outer for
for( int r=0; r < table.length; r++)
{
for( int c=0; c < table[0].length; c++)
{
System.out.print( table[r][c] + " ");
if( c == table[0].length-1 )
{
System.out.print("\n");
} // end if
} // end inner for
} // end outer for
//System.out.println( Integer.MAX_VALUE );
//System.out.println( Integer.MIN_VALUE );
} // end method main
} // end class MultiplicationTable