Skip to content

Commit

Permalink
Update instructions.md
Browse files Browse the repository at this point in the history
Change return p1 and p2
```
CategoryExpenses(records, p1, "rent")
// => 0, nil

CategoryExpenses(records, p2, "rent")
// => 1300, nil
```
  • Loading branch information
BreCabral authored Sep 4, 2024
1 parent 2389fd9 commit d7c93fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/expenses/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ CategoryExpenses(records, p1, "entertainment")
// => 0, error(unknown category entertainment)

CategoryExpenses(records, p1, "rent")
// => 1300, nil
// => 0, nil

CategoryExpenses(records, p2, "rent")
// => 0, nil
// => 1300, nil
```

0 comments on commit d7c93fd

Please sign in to comment.