I can't figure out this formatting loop. The program finds out if a number is divisible by a certain number and if it is then it outputs the numbers it is divisible by in a row. My issue is that the rows can only be 8 numbers long with spaces and then it needs to start a new row with the rest of the numbers. And after that I need to reverse the output so small numbers-->bug and vise versa. The way I have it now does not stop at 8 and only goes from big to small and I can't figure it out.