I have a really simple assignment.
My assignment is to write a program that counts from 1...1000 and displays five numbers across the screen prior to adding the newline character \n
Ex:
1,2,3,4,5
6,7,8,9,10
11,12,13,14,15
the only problem i have is to print out only 5 at a time. I can print out one at a time or al at once. Help on printing ony 5 perline?