HW4 : Bruin Bank

Submit

submit ATM.java

You can assume that the grader use normal input for the main function. So you don't have to do error handling or make sure there are 2 inputs.
2 input, one is name,one is a number will be used for the main.

The font I used can't be showed up properly by the computers in the lab. Don't worry about it.

There is a bug in my program, if you withdraw the same amount equal to the balance, then "there is not enough money" message shows up. Don't worry about the bug.


You can download the program here .
You can get hints here .
To run the program: The program should show up. You can also run
java -cp bank.jar bank.Main Amy 20000 for other example.
Here is the screen shot :
bank.gif
In below are points you should pay attention to

Solution

ATM.java