C++用for循环怎么打印这个图形呢?

供参考:
#include<iostream>
using namespace std;
int main()
{
int row, x, y, nrows = 6;
for (row=1;row<=nrows;row++) //_________________________)
{
for (x=1;x<=nrows-row;x++) // ____; x <= _____; x++)
cout << "#";
for (y=1;y<=2*row-1;y++) //____; y <=______; y++)
if (y%2==1) //__________________________)
cout <<"*"; // ___________;
else
cout <<"#"; //___________;
for (x = 1;x<=nrows-row;x++) //__________; x++)
cout << "#";
cout << endl;
}
return 0;
}