
This C# .NET application calculates your total savings based on the initial amount, interest rate, # of years, and compounding frequency.
The following formula is used to calculate the total savings (A) after (n) years with interest compounded (q) times per year at an annual interest rate of (i) starting with an initial deposit of (P):
A = P(1+[i/q])nq
You can get the full source code for this application by selecting the Download Source Code link.