Write a program which takes a single integer input "height" and displays a "pyramid"
of this height made up of "*" characters on the screen.
Sample Output:
Pick another height (must be between 1 and 30): the triangle must be equilataural
*
***
*****
*******
*********
***********
*************
Heba91 0 Newbie Poster
Salem 5,199 Posting Sage
bsewell 0 Junior Poster in Training
Heba91 0 Newbie Poster
bsewell 0 Junior Poster in Training
Heba91 0 Newbie Poster
Salem 5,199 Posting Sage
Heba91 0 Newbie Poster
jwenting 1,889 duckman Team Colleague
bsewell 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.