// Allison Obourn
// CS& 141, Autumn 2021
// Lecture 1

// This program prints out ASCII pictures of an egg, tea cup, stop sign 
// and then a hat. The pictures appear one on top of the other, each 
// separated by a blank line

public class Figures {
    public static void main(String[] args) {
        egg();
        teaCup();
        stopSign();
        hat();
    }
    
    // prints a downward opening arc
    public static void eggTop() {
        System.out.println("  ______");
        System.out.println(" /      \\");
        System.out.println("/        \\");
    }
    
    // prints an upward opening arc
    public static void eggBottom() {
        System.out.println("\\        /");
        System.out.println(" \\______/");
    }
    
    // prints an egg shaped oval
    public static void egg() {
        eggTop();
        eggBottom();
        System.out.println();
    }
    
    // prints a tea cup and saucer
    public static void teaCup() {
        eggBottom();
        System.out.println("+--------+");
        System.out.println();
    }
    
    // prints a stop sign 
    public static void stopSign() {
        eggTop();
        System.out.println("|  STOP  |");
        eggBottom();
        System.out.println();
    }
    
    // prints a hat with a small brim
    public static void hat() {
        eggTop();
        System.out.println("+--------+");
    }
}