/*******************************************************************************
 * 
 * Lecture5 program
 * 
 * Purpose:  This program provides useful sample and examples that correspond
 * 			 to Lecture 5.
 * 
 * @author Thomas Rogers
 *
 * @version 1.1 (February 15, 2018)      
 * 
 ******************************************************************************/
import java.util.Scanner;

public class Lecture5 {

	
	/**=========================================================================
	 * CLASS METHODS
	 * 
	 * Program methods are listed below in alphabetical order.
	 *========================================================================*/

	/**
	 * Uses nested for loops to display a matrix of numbers
	 */
	public static void nestedFor() {
		for (int i=1; i<=10; i++) {
		    for (int j=1; j<=10; j++) {
		        System.out.printf("%3d ", i*j);
		    }
		    System.out.println();
		}
	}
	
	
	/**=========================================================================
	 * CLASS main
	 * 
	 * @param args - The command-line arguments passed to the running program.
	 *========================================================================*/
	public static void main(String[] args) {
		
        nestedFor();
		
	}

}