Homework #4

Build TreeMap for bank accounts with initial entries:

John Doe 3123.5

Jane Doe 1200.0

Susan Doe 3124.7

Holly Doe -97.1

Bill Doe -12.0

1) print the map.

2) John makes a deposit of 1000, Susan withdraws 2000, delete all the customers with negative balances, and add a new

customer Sally Doe with 15.0 balance.

After these operations, print the map.

As before, submit one file with a name YOURLOGIN_hwk4.java