Pattern-7

Description:          This program prints the following pattern(Horizontal Histogram):

                                    if the array is of elements -|3|7|2|5|
                                     ***
                                     *******
                                     **
                                     *****
                                    according to the values entered in the array
                                     
                                
Primary Inputs:    Read 10 digits from the user
Primary Output:    The pattern specified above
Platform Used:      JDK 1.6 with JCreator
 

 

Rate this post

Leave a Reply