Plz help me wid this program!! thankss

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jan 2009
Posts: 2
Reputation: angel1 is an unknown quantity at this point 
Solved Threads: 0
angel1 angel1 is offline Offline
Newbie Poster

Plz help me wid this program!! thankss

 
0
  #1
Jan 9th, 2009
hi ppl...
can u please help me with this program.. i dont get how to do it. I tried hard but dont' get it.!
thanks
Suppose that $ 1000 is deposited in a bank account that pays interest at the rate of 8%. if interest is paid annually, at the end of each year 8% of the amount currently in the account is added to the amount. write a program to complete the table shown below.
this is the table:
time(years) Amount in account (dollars)
0 1000.00
1 1080.00
. .
. .
. .
50 .

THankss in advancee for help
Last edited by angel1; Jan 9th, 2009 at 9:51 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,047
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: Plz help me wid this program!! thankss

 
2
  #2
Jan 9th, 2009
What part do you need help with?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Plz help me wid this program!! thankss

 
0
  #3
Jan 10th, 2009
> i dont get how to do it. I tried hard but dont' get it.!
Which part?
The counting of years from 1 to 50 part?
Or the adding 8% part?

Post your best effort so far.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: angel1 is an unknown quantity at this point 
Solved Threads: 0
angel1 angel1 is offline Offline
Newbie Poster

Re: Plz help me wid this program!! thankss

 
-1
  #4
Jan 11th, 2009
well.. my teacher told me to use WHile loops wid this program..
I don't understand what While loop is and how do i use it with this program..
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 46
Reputation: BlackSun is an unknown quantity at this point 
Solved Threads: 4
BlackSun BlackSun is offline Offline
Light Poster

Re: Plz help me wid this program!! thankss

 
-1
  #5
Jan 11th, 2009
hi

int counter=1;
float interest;
float deposite = 1000;
while (counter<= 50)
{
interest = deposite * 0.8f;
deposite +=interest;
Console.WriteLine(counter.ToString() + "={0}", deposite.ToString());
counter++;
}
Console.ReadLine();
}

bye
Attached Files
File Type: zip Bank.zip (19.6 KB, 3 views)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC