Hi, i need my program output to come out as
Hi! I can count very fast.
00000001
IS THERE MORE?
00000002
IS THERE MORE?
00000003
IS THERE MORE?
00000004
IS THERE MORE?
00000005
IS THERE MORE?
00000006
IS THERE MORE?
00000007
IS THERE MORE?
00000008
IS THERE MORE?
00000009
IS THERE MORE?
00000010
IS THERE MORE?
00000011
IS THERE MORE?
00000012
IS THERE MORE?
MY ASSIGNMENT

But it comes out as
Hi! I can count very fast.
00000001Hi! I can count very fast.
00000002Hi! I can count very fast.
00000003Hi! I can count very fast.
00000004Hi! I can count very fast.
00000005Hi! I can count very fast.
00000006Hi! I can count very fast.
00000007Hi! I can count very fast.
00000008Hi! I can count very fast.
00000009Hi! I can count very fast.
00000010Hi! I can count very fast.
00000011Hi! I can count very fast.
00000012Hi! I can count very fast

Ive been stuck on this and cant figure it out.

No source, no way to see where it may be broke. Even so, it appears your code is pointing to the wrong string and missing a possible LF or CR+LF (which is OS dependent.)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.