The spec requires that there are two spaces between the left section of hashes and the right section of hashes. As you'll see below, when using two spaces, it fails, however when I use one, it passes. I've tried changing it to one space and adding another printf
to print another space, but I get the same errors. I cant think of anything else it could be.
for (int j = 0; j < 2 ; j++)
{
printf(" ");
}
Here is the error:
~/workspace/pset1/ $ check50 2016.mario.more mario.c
:) mario.c exists
:) mario.c compiles
:) rejects a height of -1
:) handles a height of 0 correctly
:) handles a height of 1 correctly
:( handles a height of 2 correctly
\ expected output, but not " # #\n## ##\n"
:( handles a height of 23 correctly
\ expected output, but not " ..."
:) rejects a height of 24
:) rejects a non-numeric height of "foo"
:) rejects a non-numeric height of ""
https://sandbox.cs50.net/checks/a368e0da675b41db8d037a5361daf077