C++ Divisors program

I am currently trying to generate a program using a double nested for loop to get the following output:
>Please enter the maximum integer value you wish to find divisors: 10
>List of divisors of the integer between 1 and 10:
>divisors of 1: 1
>divisors of 2: 1, 2
>divisors of 3: 1, 3
>divisors of 4: 1, 2, 4
>divisors of 5: 1, 5
>divisors of 6: 1, 2, 3, 6
>divisors of 7: 1, 7
>divisors of 8: 1, 2, 4, 8
>divisors of 9: 1, 3, 9
>divisors of 10: 1, 2, 5, 10

Now I believe I have implemented the right arithmetic but I can not seem to get the correct format for the output and I am not sure where to go from here. This is my code and the results I am getting from it.

normally we try to help people here an not do the work for them but yea.... ok

Well that's true and you are right. But you did notice that he had done all the work and it would be too wasteful to explain things like put a 'cout' here and then put and 'endl' there. It is just to trivial and sometimes, when the solution is to trivial, code explains more than words. You see that happening a lot of times. But again, it is important to realize when to do that.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...