Reading through the documentation, I can't find a reason for budget as it is now.
It seems that budget is a static number. If I set a budget of $300, then add a expense of $50, it changes to $250, which is fine. Afterwards, if I set a new budget of $400, and then run showBudget, its shown as $350. The past expenses from the previous budget are brought over to the new budget.
It seems that the user should be cumulatively adding budget? E.g. monthly budget is $500. Month 1 - setBudget 500, month 2 - setBudget 1000, month 3 -setBudget 1500 etc.
Perhaps you can consider adding a description for budget in the UG as its not really clear how to use it now.
Budget works on a period-by-period basis e.g. monthly. If its cumulative, I think it should be labelled balance. As it is, it doesn't really suit the needs of university students
Reading through the documentation, I can't find a reason for budget as it is now.
It seems that budget is a static number. If I set a budget of $300, then add a expense of $50, it changes to $250, which is fine. Afterwards, if I set a new budget of $400, and then run showBudget, its shown as $350. The past expenses from the previous budget are brought over to the new budget.
It seems that the user should be cumulatively adding budget? E.g. monthly budget is $500. Month 1 - setBudget 500, month 2 - setBudget 1000, month 3 -setBudget 1500 etc.
Perhaps you can consider adding a description for budget in the UG as its not really clear how to use it now.
Budget works on a period-by-period basis e.g. monthly. If its cumulative, I think it should be labelled balance. As it is, it doesn't really suit the needs of university students