Ex: input = {0,1,2,3,4,5,6,7,8,9,. . . . . . .(n-2),(n-1),n}
i want out as follows
Where number of columns and row are defined
For this example columns = 6 rows = input/columns;
_ _ | 0, 1, 2, 3, 4, 5 | | 6, 7, 8, 9, . . | matrix =| . . . . . . | | . . . . . . | | . . . (n-2),(n-1),n | |_ _|
Please any body help me..