Please help me I have no idea how to program this thing!
Develop a program using loops that displays rows of asterisks in two different ways:
1. Ascending then Descending
*
**
***
****
*****
******
*******
********
*********
********
*******
******
*****
****
***
**
*
2. Descending then Ascending
*********
********
*******
******
*****
****
***
**
*
**
***
****
*****
******
*******
********
*********
The maximum number of asterisks in any row is 9.
The program should prompt the user as to which of the above
Display methods should be used.
Hint: Use nested loops.