Nested for loops to create a Triangle

[RIGHT]**********




******
 *****
  ****
   ***
    **
     *

[LEFT]How would one go about creating that triangle in C++ using nested for loops?

for(int r = 0; r < 10; r++) {
        for(int c=0; c < r; c++) {
            cout << " ";
        }
        cout << "*";
        for(int c = 9; 9 > c > r; c--) {
            cout << "*";
        }

        cout << endl;
    }

r = row, c = column

This is what I have so far, all it creates is the top line, and the diagonal of asterisks

Any help appreciated, thanks.

[/LEFT]
[/RIGHT]