Hi all,
I've Googled for two days but just cannot find anything to do what I need
and for some reason my brain is having a block on writing the code that
actually works...
Essentially, I have a need to show an ascii ruler of arbitrary length on
screen the output would resemble this.... (I hope it doesn't wrap)
1 1
1 2 3 9 0 1
1234567890123456789012345678901234.....7890123456789012345678901234......
My brain is looking at nested loops with MOD 10 calculations but the output
just turns into a mess resembling my brain which is slowly turning into
mush.
If anyone can point me in the direction of a decent algorithm in *any*
language that would do this I would be eternally grateful!
Paul