Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@
- 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. ...
1. Preheat the oven to 375°F (190°C).
2. In a large bowl, whisk together the flour, sugar, cocoa powder, chocolate chip, vanilla extract and ground cinnamon.
3. Add a tablespoon of instant coffee to the dry ingredients for a hint of mocha flavour.
4. Mix in a handful of chocolate chunks for extra indulgence.
5. Line the bottom of the baking pan with parchment paper for easy cake removal.
6. In a separate bowl, beat the eggs and add them to the mixture. Stir until well combined.
7. Gradually add the milk and vegetable oil to the mixture, continuing to stir.
8. Pour the batter into a greased and floured 9x13-inch baking pan.
9. Tap the pan gently on the counter to release any air bubbles.
10. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs (not wet batter).
11. Remove from oven and let cool in the pan for 10–15 minutes.
12. Transfer to a wire rack to cool completely before slicing.
13. Enjoy your cake!!!!
5 changes: 2 additions & 3 deletions src/DataTypes.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
public class DataTypes {
// TODO TASK 1: fix this code so that it passes the test in DataTypesTest.java
public static long sum(int[] numbers) {
int s = 0; // variable to accumulate the sum in!
long s = 0L; // variable to accumulate the sum in!
// below is a "foreach" loop which iterates through numbers
for (int x : numbers) {
for (long x : numbers) {
s += x;
}
return s;
Expand Down