I need to write a program that prompts user for input of 2 integers (i,j) and the number of columns (c) the numbers will fill.

the numbers need to print out i through j using c columns, consecutive numbers going down each column. As far as possible columns must be the same length with the left-most columns containing any "extra" numbers

example output

Numbers 11 through 23 in 5 columns:

11 14 17 20 22
12 15 18 21 23
13 16 19


Ok thats the problem. Now I need to use a one-dimensional array to do this. Where is a good place for me to start? This is the toughest part for me to visualize and begin writing the algorithm. Can someone help jumpstart me. Thanks