Bear Bibeault wrote:What kind of GUI? Swing? Web?
Regardless, it's not going to be that simple. Depending upon which type of GUI you choose, the method of accepting input will change drastically from reading in from the console.
Carey Brown wrote:Consider a HashMap<String,Integer>.
Kirstie Fran wrote:
Line 15 also gives this error:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 46
Dennis Deems wrote: I don't think a formula will be nearly as useful as writing out verbally what needs to happen.