Pattern-2

Description:          This program prints the following pattern:
                                     1
                                     222
                                     33333
                                     4444444
Primary Inputs:    Generates a single digit random number as the number of lines
Primary Output:    The pattern specified above
Platform Used:      JDK 1.6 with JCreator
 

 

Rate this post

Leave a Reply