Skip to content

Implement Entry, Income, Expense, and Budget classes#658

Open
goldmonkey777 wants to merge 1 commit intoironhack-labs:masterfrom
goldmonkey777:master
Open

Implement Entry, Income, Expense, and Budget classes#658
goldmonkey777 wants to merge 1 commit intoironhack-labs:masterfrom
goldmonkey777:master

Conversation

@goldmonkey777
Copy link

Completed all iterations:

  • ✅ Iteration 1: Entry class with constructor and getFormattedAmount()
  • ✅ Iteration 2: Income class extending Entry with type="income"
  • ✅ Iteration 3: Expense class extending Entry with type="expense", paid property, and overridden getFormattedAmount()
  • ✅ Iteration 4: Budget class with addEntry() and getCurrentBalance() methods
  • ✅ Bonus: getFormattedEntries() method using forEach()

All tests should pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant