Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,549 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,574 people online right now. Registration is fast and FREE... Join Now!




investment

 
Reply to this topicStart new topic

investment, C++ Visual Studio

totald24
25 Nov, 2007 - 08:56 PM
Post #1

New D.I.C Head
*

Joined: 25 Nov, 2007
Posts: 1


My Contributions
You have invested $100 in 1800 with a 10% interest rate compounded. How much money will be in the account in year 2000 use loop

this is what I have so far

CODE
maxi = 1
maxy = 0
for(int i=1, i,=10, i=i+1)
{
  cout<<"Enter y"
  cin >> y
if(y>maxy)
{
maxy=y
maxi=i
}
cout<<maxi<<""<<maxy

User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/7/09 09:40PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month