From 8db59d92f97e144c915b99b4910806632286bac0 Mon Sep 17 00:00:00 2001 From: Mike <wujimikechen@gmail.com> Date: Mon, 18 Sep 2023 11:59:26 -0400 Subject: [PATCH] improved everything --- recipe.md | 14 +++++++++++--- src/DataTypes.java | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/recipe.md b/recipe.md index a8b51a4d..a1c9a4e9 100644 --- a/recipe.md +++ b/recipe.md @@ -4,9 +4,17 @@ - 2 cups all-purpose flour - 1 3/4 cups granulated sugar - 3/4 cup unsweetened cocoa powder +- 1 cup chocolate chips +- 1 tsp vanilla extract +- 1/2 tsp ground cinnamon - ... ## Instructions: -1. Preheat the oven to 350°F (175°C). -2. In a large bowl, whisk together the flour, sugar, and cocoa powder. -3. ... \ No newline at end of file +1. Preheat the oven to 375°F (190°C). +2. In a large bowl, whisk together the flour, sugar, cocoa powder, and ground cinnamon. +3. yeet ingredients into the oven. + +## Additional Directions by Bob: +4. Add a tablespoon of instant coffee to the dry ingredients for a hint of mocha flavor. +5. Mix in a handful of chocolate chunks for extra indulgence. +6. Line the bottom of the baking pan with parchment paper for easy cake removal. diff --git a/src/DataTypes.java b/src/DataTypes.java index 4f807c1f..eebcb595 100644 --- a/src/DataTypes.java +++ b/src/DataTypes.java @@ -4,7 +4,7 @@ public class DataTypes { // TODO TASK 1: fix this code so that it passes the test in DataTypesTest.java public static long sum(List<Integer> numbers) { - int s = 0; + long s = 0; // below is a "foreach" loop which iterates through numbers for (int x : numbers) { s += x;