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 .

4
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by BlackSun

What part do you need help with?

> 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?

Post your best effort so far.

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..

So you're saying you haven't paid attention in class at all and want someone to write this for you.

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++;
}