hey this is my first time asking for help. But i am having trouble making this code. (i think i am over looking it) but here is what i need to do.
::: Design and implement a program to maintain a simple income and expense
budget for a non-profit organization. The organization runs a thrift shop that takes donations of salable goods
and resells them for income. They also accept cash donations. Their expenses fall into 3 categories:
operating (e.g., rent, utilities, etc.), payroll, and charity support. The program will maintain the amount of
cash on hand as well as running totals for sales income, cash donations, operating expenses, payroll expenses,
and support to charities. The program will allow a user to enter both income and expenses of each type, but
expense payments may not exceed the available cash on hand at any time. The user will be able to request a
report listing the totals for each of the expense categories, the total expenses, the total incomes from sales and
donations, the total income, and the cash on hand.
sorry if it was so long but here is what i have so far:
# This program is a simple Non-Profit Budget Manager program that
# allows a user to maintain a simple income and expense budget for
# a non-profit organization.
def main():
endProgram = 'no'
while 'no' == endProgram.lower():
print '1. Add an expense amount'
print '2. Remove an expense amount'
print '3. Add an income amount'
print '4. Remove an income amount'
print '5. Display the income and expense report'
print '6. Exit the program'
user_inp = raw_input( 'Enter your choice: ')
if user_inp == '1':
addExpense()
elif user_inp == '2':
removeExpense()
elif user_inp == '3':
addIncome()
elif user_inp '4':
removeIncome()
elif user_inp == '5':
displayBoth()
else:
print 'Are you sure?'