Compound Interest Tool

The goal of this assignment is to create, in Perl, a program that can be run through a WWW server's CGI that computes compound interest.

Create a form, similar to the one below, in which a user may enter an initial investment (principal), a rate of interest, an optional increment to be added to the principal each year, and the number of years. The program then computes and displays the accumulating total for each year of the designated period.

Include default values for each of the fields so that the program will execute properly if values are not entered by the user.

This work is to be done under Honor Code rules. Do not consult someone else's code or html for this assignment prior to submitting your own. Once you do consult someone else's work, do not change the version referenced on your course homepage.


Principal: $

Rate of interest: %

Yearly increment: $

Number of years:

Submit: