Thank you for using the code button, but you haven't quite got the tags in the right places. Don't worry; I corrected the tags for you, and doesn't it look better now Unfortunately it shows inconsistent indentation; be very careful to indent your code because it makes it easier for you to find your way around it.
Write System.out.println(); instead of System.out.println(""); Junilu is right; you should seek a pattern and work that out before you write any code.
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing: