Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code Help

Status
Not open for further replies.
Apr 25, 2001
18
US
Got a project to step in and finish and I'm completely out of my league as I'm not a programmer. I need code that looks at 3 issues-principal,years and rate-and calculates the total amount of money accululated at the end of every year for a total on n years using simple and compound interest rates.

Simple I'm sure for most of you. Thanks for the help.
 
Should be easy, you have all the info you need in variables right? All you need to do is create a new variable and assign its value to the calculation required, e.g:

double theresult;
theresult = X * 4 / 10; // Etc....

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top