Im trying to get two for loops to display thier iterations side by side but I don't get the wanted results.
By trying
cout << x << "--------" << y << endl; // I tried to use this to display both iterations of the two loops to display the first loop and then the 2nd loop. But the for loops break by repeating the same number.