CS120
Programming Assignment #2B

Due Sunday February 4th at Midnight.

For this assignment create a program to compare the growth of two investments made at different interest rates.

The program should begin by asking the user for the amount of the initial investment, the number of years of the investment, and the two interest rates.

The program should calculate and print the interest earned each year under each interest rate and the total value of each investment in each year.

Note that it's probably easiest to do this for one interest rate first. And when that is working properly, add the code for the other interest rate.

Turn in: Submit the program and sample output (generated using the script command) showing that the program works. Turn in both the program and the output.