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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You should now see the changes you had made are also in the `main` branch.
- IntelliJ: `Git -> branches... -> task_1 -> Delete`
- Terminal: `git branch -d task_1`

- [ ] Last step, we'll push our changes to the remote repository to share our work! (As we did in Lab 1.)
- [x] Last step, we'll push our changes to the remote repository to share our work! (As we did in Lab 1.)
- we suggest you check off this last item, commit that change (just right on the main branch is fine;
no need to branch for this little step), then push your code. Check GitHub to ensure you can
see your changes.
Expand Down
13 changes: 10 additions & 3 deletions recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@
- 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


## Instructions:
1. Preheat the oven to 350°F (175°C).
2. In a large bowl, whisk together the flour, sugar, and cocoa powder.
3. ...
2. In a large bowl, whisk together the flour, sugar, cocoa powder, chocolate chips, and vanilla extract.


## Additional Directions by Alice:
4. In a separate bowl, beat the eggs and add them to the mixture. Stir until well combined.
5. Gradually add the milk and vegetable oil to the mixture, continuing to stir.
6. Pour the batter into a greased and floured 9x13-inch baking pan.
5 changes: 2 additions & 3 deletions src/DataTypes.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import java.util.List;

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) {
for (int x: numbers) {
s += x;
}
return s;
Expand Down