/*
 * BlockLetters4.java
 * Dave Sullivan (dgs@cs.bu.edu)
 * 
 * This program displays the name "ED" in block letters on the screen.
 * It demonstrates the use of procedural decomposition using static methods,
 * and it shows how easy it is to reuse static methods to solve new problems.
 */

public class BlockLetters3 {
    /*
     * writeE - outputs a block letter E to the console
     */
    public static void writeE() {
        System.out.println("    +-----");
        System.out.println("    |");
        System.out.println("    +----");
        System.out.println("    |");
        System.out.println("    +-----");    
    }
    
    /*
     * writeD - outputs a block letter D to the console
     */
    public static void writeD() {
        System.out.println("    -----");
        System.out.println("     |   \\");
        System.out.println("     |    |");
        System.out.println("     |   /");
        System.out.println("    -----");
    }
    
    public static void main(String[] args) {
        writeE();
        System.out.println();
        writeD();
    }
}
