// Helene Martin, CSE 142 // Well-structured program that prints out a cookie recipe public class BakeCookies { public static void main(String[] args) { makeBatter(); bakeCookies(); bakeCookies(); bakeCookies(); frostCookies(); } // make batter 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."); System.out.println(); } // bake the cookies public static void bakeCookies() { System.out.println("Set the oven temperature."); System.out.println("Set the timer for 10 minutes."); System.out.println("Place the cookies into the oven."); System.out.println("Allow the cookies to bake."); System.out.println(); } // frost the cookies public static void frostCookies() { System.out.println("Mix the ingredients for the frosting."); System.out.println("Spread frosting and sprinkles onto the cookies."); System.out.println(); } }