Programme to print the pattern

To print the pattern below
*
**
***
****
*****

This programme to print the pattern is done with the help of nested for loop.Outer and inner loop executed 5 time.And after the inner loop executed the values of m decreasing by one every time.
Here shown above is the output. 

Comments

Popular posts from this blog

Programme to find the longest word in the sentence

Programme to find sum and difference between two number

Program to find the prime no. between the given range