/* Helene Martin, Garfield AP CS, 2010 
	Program to "bake" two batches of cookies demonstrating procedural decomposition
	Thanks to Stuart Reges and Marty Stepp */
public class BakeCookies2 {
	public static void main(String[] args) {
		  makeBatter();
		  bake();
		  bake();
		  frost();
    }

	 public static void makeBatter() {
	 	  System.out.println("Mix the dry ingredients.");
        System.out.println("Cream the butter and sugar.");
        System.out.println("Beat in the eggs.");
        System.out.println("Stir in the dry ingredients.");
	 }
	 
	 public static void bake() {
	     System.out.println("Set the oven temperature.");
        System.out.println("Set the timer.");
        System.out.println("Place a batch of cookies into the oven.");
        System.out.println("Allow the cookies to bake.");
	}
	
	public static void frost() {	
        System.out.println("Mix ingredients for frosting.");
        System.out.println("Spread frosting and sprinkles.");
	}
}
