Assignment 6
Home Up Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 5 Assignment 6

ASCII table

Exercise 1

When $1000 is deposited into a savings account at 5 percent simple interest, the amount grows by $50 each year. When money is invested at 5 percent compound interest, then the amount at the end of each year is 1.05 times the amount at the beginning of that year. Write a program to display the amounts for 10 years for a $1000 deposit at 5 percent simple and compound interest. The first few lines are displayed below: Name the form Assignment 6 Ex.1

Years Amount Simple Interest Amount Compound Interest
1 1050 1050
2 1100 1102.5
3 1150 1157.63