I have to create a small bank program here are the instructions any help is appreciated
Write a program that allows users to enter a dollar amount for their bank account balance at the beginner of the month. Then ask the user to enter dollar amount for any number of checks written in a month, up to 50. Store the amount in an array and count the entries as the user makes them. Finally, ask the user to enter a monthly interest rate if the account is interest bearing or a 0 if it is not.
If the user enters 0 for the interest rate, then call a function named balanceAccount() that accepts the beginning balance, number of checks, and the array of checks amounts as arguments; the function prints a report that shows a running total of the bank account balance as each check is subtracted. (Similar tot a month end bank statement). It also prints the final balance after all the checks have been subtracted from the beginning balance.
If the use enters a number other than 0 for the interest rate, then call an overloaded function named balanceAccount() that accepts the beginning balance, number of checks, the array of checks amount, and the interest rate as arguments. This function prints the exact same report as example number 1 and then computes a final month end balance by applying the interest that the bank account has accrued.