Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :) greedy.c exists
- :) greedy.c compiles
- :( input of 0.41 yields output of 4
- \ expected output, not a prompt for input
- :( input of 0.01 yields output of 1
- \ expected output, not a prompt for input
- :( input of 0.15 yields output of 2
- \ expected output, not a prompt for input
- :( input of 1.6 yields output of 7
- \ expected output, not a prompt for input
- :( input of 23 yields output of 92
- \ expected output, not a prompt for input
- :( input of 4.2 yields output of 18
- \ expected output, not a prompt for input
- :) rejects a negative input like -.1
- :) rejects a non-numeric input of "foo"
- :) rejects a non-numeric input of ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement