Mario and Greedy seems to output the same errors for me. It is frustrating, because they do what they are "supposed" to do. So I can't figure out how to solve the error. I looked through the others question, regarding this problem. But did not find a solution.
IF you haven't completed these assignments, I will strongly recommend, you do not open the codes. You will learn so much more, if you push your self to complete them.
Greedy CS50 CHECK:
:) greedy.c exists :) greedy.c compiles :) input of 0.41 yields output of 4 :) input of 0.01 yields output of 1 :) input of 0.15 yields output of 2 :) input of 1.6 yields output of 7 :) input of 23 yields output of 92 :) input of 4.2 yields output of 18 :( rejects a negative input like -.1 \ expected prompt for input, not exit code of 0 :) rejects a non-numeric input of "foo" :) rejects a non-numeric input of ""
Mario CS50 CHECK:
:) mario.c exists :) mario.c compiles :) rejects a height of -1 :( handles a height of 0 correctly \ expected an exit code of 0, not output of "Height: " :) handles a height of 1 correctly :) handles a height of 2 correctly :( handles a height of 23 correctly \ expected output, but not "Height: " :( rejects a height of 24 \ expected output, but not "Height: " :) rejects a non-numeric height of "foo" :) rejects a non-numeric height of ""