Hi I'm new to programing. My tearcher gave me a ster program where there are 4 right triangles, that triangles 2-4 are just reflections/rotations of the first one - all being right triangles of size 10 on the perpendicular sides

*

**

***

****

*****

******

*******

********

*********

**********

this is what I have

```
int r, c;
for (r=1; r<=10; r++)
{
for (c=1; c<=r; c++)
cout<<"*";
cout<<endl;
}
cout<<endl;
for (r=10; r>=1; r--)
{
for (c=1; c<=r; c++)
cout<<"*";
cout<<endl;
}
cout<<endl;
```

please help with the other 2