Having Problem in Width Specifier

Having Problem while using %*d Width specifer
I want to make a program of output like
*
**
***
****
*****
Traingle square but reverse using %*d ! Please Help
forum is removing spaces!
i want like this
4spaces *
3spaces **
2 spaces ***
1 space ****
*****
Topic archived. No new replies allowed.