Print pattern with m rows n columns

.Print this kind of pattern with M rows and N column ,
Where each row decreases first goes to a min value and the increases to the initial value.






**
*
**






Can you please any one help on this?

In reply to Prawin kumar:

I’ll give you a hint: you can do this with two double-nested for loops and $write.