I need help on writing this
**********
*********
********
*******
******
*****
****
***
**
*
I figured how to do it the other way going down
with this
int main ()
{
for (row=1; row <=10 ; row++)
{
for (col=1; row>=col; col++)
{
cout << "*" ;
}
cout << endl ;
}
}
please help, thank you :)