How do I design a program that asks the user to enter the amount that he or she has budgeted
for a month along with an indefinite input loop for the month's expenses. The expenses input loop should accumulate the total of the expenses. When the expenses input loop finishes, the program should display an appropriate message comparing the month's expenses to the budget.
I'm trying to teach myself how to do this but I have no idea what I'm doing.
it has to have this input
Monthly Budget of $1855.00
Expenses:
------------------------------
Car payment $201.00
Rent: $950.00
Insurance: $200.00
Supermarkets, food: $400.00
Restaurants: $100.00
Internet service: $56.00
Cell phone: $109.00
Gasoline: $175.00