*
**
***
****
*****
Program Using one for loop Check it...Most of programmer use two loop for this pattern...

http://j2sexample.blogspot.in/2015/09/optimize-solution-of-pattern-program-1.html