CSCI 1302 Lab 2

Bank Timer

For Lab 2, you'll add some functionality to your bank. Your assignment is to create a main program called BankTimer that uses the BankAccount class we made last time. First, the app asks the user for an initial balance, then for an interest rate. The app then simulates 12 months going by, with interest being applied every month (1/12 of the rate), showing the interest and balance each month, and the final balance. Pretty simple, really.

All classes (BankAccount and BankTimer) should be in a folder called timer, and should contain the following lines of comments at the top of each file:

// FileName.java
// by Your Name
// CS1302
// Lab #
// Date

Use Javadoc comments for all non-application classes, and run Javadoc on, and view the results for, each of the non-application files in the package.

[For optional fun, ask the user if they want to run interest for another year.]

Due Wednesday, August 31, at the beginning of class. Make sure to save in a folder (if using a USB drive) called cs1302/timer/. Programs will be turned in online at the beginning of class.