So I have a beautiful pyramid, but when I enter any number I get the exact same pyramid, which is the max the pyramid can be.
example: if I enter 5 I get a pyramid of 23. If I enter 15 I get a pyramid of 23.
I realize that it must have something to do with the declared integers but I need them to make my pyramid work. I declare the max height of the pyramid and of the rows of the pyramid.
GetInt() and it ask for input and it will keep re-asking until the correct integer is inputted.
Here is the line of code that should determine how tall the pyramid is suppose to be.
for (height = 0; height <= howtall; height++)
height is suppose to be
howtall is a declared integer of 23.