Please use code tags and proper indentation when you post your code, as it's much easier to read for those that want to help you. Another suggestion is to break down your program into separate methods instead of putting everything in the main method, as it's a lot simpler to track down a problem if you have small pieces to look over instead of one big blob. My suggestion is to look over the logic of your if else statements, as that is the most likely culprit.