How to insert mpty spaces between specific lines?

I'm creating a lotto machine. One ticket can hold 10 sets of numbers. So, if 15 sets of numbers requested, the output will be the first 10 sets, then empty spaces before the last 5 sets are printed. Can someone help me?.Thanks.
[235 byte] By [aivon1sta] at [2007-11-27 9:49:04]
# 1
Keep track of how many lines you've printed so far. Every 10th line, print a blank space.You can use the % operator to determine if the current line is divisible by 10.Or simply have a counter that you reset when it reaches 10.
jverda at 2007-7-13 0:17:44 > top of Java-index,Java Essentials,Java Programming...
# 2
Do you have a Ticket class that stores 10 "sets" of numbers? Can it print itself?Can a set of numbers exist outside of a Ticket?
hunter9000a at 2007-7-13 0:17:44 > top of Java-index,Java Essentials,Java Programming...
# 3
It will show something like this:a. 23.34.24.12.45b. 34 56 23 45 33c.d-all the way to j (10th set)k. .34 35 22 33 55l.
aivon1sta at 2007-7-13 0:17:44 > top of Java-index,Java Essentials,Java Programming...
# 4
> It will show something like this:That doesn't tell us anything new.Did you understand what I said in my previous reply? Try that, and if you get stuck, post your code (inside code tags) and ask specific questions.
jverda at 2007-7-13 0:17:44 > top of Java-index,Java Essentials,Java Programming...
# 5
Great!!!...I got it to work!Thank you!
aivon1sta at 2007-7-13 0:17:44 > top of Java-index,Java Essentials,Java Programming...