|
Wow thank you so much for that. I have been studying the code you presented me with and am starting to grasp the concept. I am just stuck on figuring where to put a "catch (Exception e)" so the program will catch when a letter is put in place of a number or vice versa. Problem is I can not find where to put the "try." I am thinking that two try catches are needed since there is an input for the names and the numbers. Am I right in that assumption? Also I am trying to get the results to show on a "JOptionPane.showMessageDialog" but as with the catch phrase I keep getting many errors when I place it in there. Can someone give me a general idea of where the try catch needs to be?
__________________
Hey I'm still learning... Thats my story and I'm sticking to it To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|