And you added an else clause why? Now sequence[60], sequence[120], etc will never print.
And you added an else clause why? Now sequence[60], sequence[120], etc will never print.
Thank you tabstop for the help. Everything works fine. Sorry for the frustration. I must reiterate that I am barely a novice to programming.
Let's stop and think for a moment. Here's how the loop goes:
If the index is no dividable by 60, so for index 0, print the current character.
Loop.
Same for index 1 though 59.
Coming back on index 60. Print newline. Loop.
Index 61, print character, loop.
Do you see the problem?
Oooh, I don't believe it, I found the C-Pound programmer from thedailywtf.com!!!
Ahem, I mean # is "sharp", there is no pound key on US keyboards.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
Sharp is a musical notation.
I've never programmed a line of code in C sharp. Don't know or care zip about it.