This program prints a pattern as follows with number of rows specified by user.

              *
            * * *
          * * * * *
        


    Download Code