Write a program that prompts the user to enter an integer from 1 to 15 and displays

Question:

Write a program that prompts the user to enter an integer from 1 to 15 and displays a pyramid, as shown in the following sample run:

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: