/**
 * Build a multiplication table (basic components)
 */

public class zBasicMult
{
    public static void main(String[ ] args)
    {
	int row, col;
	
	for (row = 1; row <= 10; row++)			//loop for 10 rows
	{
//	    for (col = 1; col <= 10; col++)		//loop for 10 columns
            col = 1;
            while (col <= 10)				//substituting a while loop instead
	    {
	    	System.out.print(row * col);		//print row * column
	    	System.out.print("\t");			//print a tab (or spaces)
	    	col++;
	    }
	    System.out.print("\n");			//print a new line
	}
    }
}