Computer Science C++ program Creating Block Pyramid Assignment

I want you to write a program that creates a block pyramid. You are expected to take in a single positive integer which will be used as the height of your pyramid, for the purposes of this first lab you can assume that the user will always provide a valid integer greater than 0 and less than 1000 (I.e. re-run the program only when value is out of this range). The very top of your pyramid will have a single block with each level having 1 more block until you have created a pyramid with the correct number of levels. In addition to the before mentioned requirements, a few things to note that might not be as evident from the screenshot:

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

1. The very bottom left is left aligned (I.e. no spaces)

2. There are no spaces after the right most pyramid in a single level.

3. The bottom most row does not end with a new line.

Sample
Output:
Here is an example of a pyramid of height 3:
A Problems Tasks Console X Properties Debugger Console Debug
(exit value: 0) project_blockpyramids.exe [C/C++ Application] C:\UCI\45CWorkSpace Labs\project_blockpyramids\Debug\project_blockpyramids.exe (6/26/17, 6:32 PM)
Here is an example of a pyramid of height 5:
A Problems Tasks Console X Properties Debugger Console #Debug
(exit value: 0) project_blockpyramids.exe [C/C++ Application] C:\UCI 45CWorkSpace Labs\project_blockpyramids\Debug\project_blockpyramids.exe (6/26/17, 6:34 PM)

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER