I have the code for the Mario pyramid written in chunks. The first part runs fine.
I have arbitrarily assigned the height as 8 to compile the program.
When I compile the pyramid, I am running into a problem with the for statement blanks and hashes. I am unsteady with to for statements and would appreciate some suggestions.
for (b = x - 2)
and similar syntax? Better have a look at how to use a for loop, Google is your friend.