So my program works (or at least I think it does, the output is what I expect to see), but when I use check50 it's still giving me a few errors.
The code is here: https://gist.github.com/anonymous/55da24038d5028955127fd93d5f68cfd
And the error statements it shows me are:
:( handles a height of 1 correctly
\ expected output, but not " ##\n"
:( handles a height of 2 correctly
\ expected output, but not " ##\n ..."
and this one too :
:( rejects a height of 24, and then accepts a height of 2
\ expected output, but not " ##\n ..."
I think the last one's just because there's some sort of error with the input value of 2.
Help, please? Can't figure out what's wrong.