1 vote

PSET 1 Hacker Mario

I had the exact same issue. The output looks correct but it is not. Just ask yourself if you really need what you called "spaces2"
1 vote

mario pset questions

I solved this by using another variable in addition to height. I used numHashes and initialized that to 2. Then, when I went through the loop, I didn't have to worry about alignment, I just printed ...
1 vote

mario pset questions

Hello Jesvant Somepalli, I would highly recommend that you should watch the walkthrough again, if you have watched already, while taking notes. Use a pen and a paper first to draw the pyramid, while ...
  • 121
1 vote

Is it possible to write mario.c using just "if" and "else if" conditions?

why wouldn't you prefer to use a loop. there has to be some sort of repetition which surely means that we need a loop of some kind. although it may be possible to implement the pyramid part without ...
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible