Could someone point me in the right direction as to how I write this program. I have only been writing for a couple of weeks.
I need to write a program that will determine if a person has exceeded the credit limit on a charge account. The facts I am using are: Account Number (an integer)
Balance at the beginning of the month
Total of items charge by customer for that month
Total of all credits apply to account for the month
Allowed credit limit
The program should imput each of these,calculate the new balance and determine if the new balance is over the credit limit. I also need it to print a message stating the "credit limit is exceeded". Any help would be appreciated.