Can anyone tell me how to program a pattern to print flush right using only nested for statements. I have been successful getting the star pattern to print flush left, but what do I need to add to have the same pattern print flush right? Here is what the patterns look like flush left.
*
**
***
****
*****
******
*******
********
*********
**********
Flush left
**********
*********
********
*******
******
*****
****
***
**
*