hi does ne 1 know the code to produce either of the followings

*
**
***
****

****
***
**
*

*
**
***
****

****
***
**
*

also adding to that does ne 1 know how to add in a pice of code that asks the user for the dimension

cheers!