I was wondering if anyone had or knew where to get or could write a program that helps a bank customer figure out certificate deposit.
The formula to calculate the balance with compound interest would be:
Balance=principal * (1 + annual_interest_rate/12) ^number_of_months
Program allows user to enter amount of principal between $1000 and $50,000. Any amount not in that range is not allowed.
So you would include principal, interest rate, interest, # of months, and balance for the data.