Skip to main content
edited tags
Link
Cliff B
  • 69.3k
  • 4
  • 33
  • 56
Source Link

check50 error message: I'm not sure what is wrong with my mario code here

the error I keep getting says:

:( handles a height of 0 correctly \ expected an exit code of 0, not output of "Type an int between 1 and 23 to build M..."

however, if user types a 0, my loop asks for the int again, as I thought it was supposed to do. I don't get what I'm doing wrong

https://sandbox.cs50.net/checks/51498b1fa77f418198b8d9cc13992631