For Project 9, you will revise the Investment program we
wrote in class to be an Applet that prompts the user for three
pieces of information: Monthly investment amount, Number of
years, and Rate of return. The final pop-up window should tell
the user how much money they'll have at the end of that time.
Optional: 5 points extra credit for asking how old the person
is now, then compute their age at the end of the investment
period (shown below) At the top of each of your files, include the following lines of
comments:
// ClassName.java
// by Your Name
// Project 9 - Due Date
-
Options: Format the $ to show in $X,XXX,XXX.XX
format. One way: test to see if >1 million, print x/1 million,
then a comma, then x/1000, etc.
|