954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

NEED help ASAp

i need help writing a program that includes a function that computes future investment value at the given interest rate for a specified number of years. I have started out but do not know what to do next to get this program to work. here wut i have

#include
#include
using namespace std;


double futureInvestmentValue(double investmentAmt, double monthlyInterestRate, int years);
int main()
{

double monthlyInterestRate, double investmentAmt;

cout<<"Please enter the investment amount: "<>investmentAmt;
cout<<"Please enter the interest rate: "<>monthlyInterestRate;
cout< 30;++)
{
array[i]=AccumalatedValue
cout<

southernd0529
Newbie Poster
13 posts since Feb 2009
Reputation Points: 6
Solved Threads: 0
 

Are you sure if your code compiles, Its your 13th post and The Lack of Code Tags make this program a lot more messier.

for (i=0; i > 30;++)
{
array[i]=AccumalatedValue
cout<<array[i]<<endl;
{ //Shouldnt this be '}'


And where is the ending Brace for the function itself.

Apart from all that, I suggest that you get back to a Pen and Paper and precisely think of how you can work out your task. After which you could start out the code.

Sky Diploma
Practically a Posting Shark
865 posts since Mar 2008
Reputation Points: 673
Solved Threads: 131
 

Only one comment about your post, please use the code tags as the signature of Sky Diploma!

Thanks!

Nathan Campos
Junior Poster
190 posts since Jul 2009
Reputation Points: 33
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You