public class BakeCookies { public static void main(String[] args) { mixIngredients(); for (int count = 1; count <= 8; count = count + 1) { bakeCookies(); } frostCookies(); } public static void mixIngredients() { 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 bakeCookies() { System.out.println("Set the oven temperature to 350 degrees."); System.out.println("Set the timer for 20 minutes."); System.out.println("Place the cookies into the oven."); System.out.println("Allow the cookies to bake."); } 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(); } }