// <Name>, Garfield High School
// <Class>, <Period>, <Date>
// <Assignment Name and/or Number> 
// Graciously borrowed from the "Building Java Programs" online Lab exercises
// by Marty Stepp & Stuart Reges

public class WarmUpSept272011 {
	public static void main(String[] args) {
		starMystery();
		System.out.println("\n");  // What does this line do??
		tableMystery () ;
	}
	
	// What do these two Mystery Static Methods produce??
	public static void starMystery() {
    	for (int i = 1; i <= 10; i++) {
        	for (int j = 1; j <= i; j++) {
            System.out.print("*");
        	}
        	for (int j = 1; j <= 20 - 2 * i; j++) {
            System.out.print(" ");
        	}
        	for (int j = 1; j <= i; j++) {
            System.out.print("*");
        	}
        	System.out.println();
    	}
	}

	public static void tableMystery() {
    	for (int i = 1; i <= 10; i++) {
        	for (int j = 1; j <= 10; j++) {
            System.out.print(i * j + "\t");
        	}
        	System.out.println();
    	}
	}

}
