Solutions to warmups

public class Main {

	public static void main(String[] dfgdfgjdhg) {
		for (int i = 0; i < 26; i++) {
			System.out.print((char) ('A' + i));
		} System.out.println();

		cross(2);
		cross(5);
	}

	public static void cross(int n) {
		// Programmers usually start counting from 0 in for loops
		// A loop of this type will execute n times.  You get used
		// the idea that i goes from 0 to n-1 instead of 1 to n

		for (int j = 0; j < n; j++) {
			for (int i = 0; i < n; i++) {
				System.out.print(" ");
			}
			for (int i = 0; i < n; i++) {
				System.out.print("#");
			} System.out.println();
		}

		for (int j = 0; j < n; j++) {
			for (int i = 0; i < 3*n; i++) {
				System.out.print("#");
			} System.out.println();
		}

		for (int j = 0; j < n; j++) {
			for (int i = 0; i < n; i++) {
				System.out.print(" ");
			}
			for (int i = 0; i < n; i++) {
				System.out.print("#");
			} System.out.println();
		}
	}
}