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]

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.
> 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.