CNIT 133 homework4 - Part2 - Compound Interest Calculator

CNIT 133 Homework4 Home


This script calculates compound interest using this formula: accumulated = principal * (1 + interest)^year
for interest rates of 5, 6 and 7 percent and starting principal of 1000 dollars.

Compound Interest Rate 5%

YearAmount on depositInterest Rate

Compound Interest Rate 6%

YearAmount on depositInterest Rate

Compound Interest Rate 7%

YearAmount on depositInterest Rate