Advertisement
Guest User

Aussie Greedy

a guest
Feb 2nd, 2014
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. :) greedy.c exists
  2. :) greedy.c compiles
  3. :( input of 0.41 yields output of 4
  4. \ expected output, not a prompt for input
  5. :( input of 0.01 yields output of 1
  6. \ expected output, not a prompt for input
  7. :( input of 0.15 yields output of 2
  8. \ expected output, not a prompt for input
  9. :( input of 1.6 yields output of 7
  10. \ expected output, not a prompt for input
  11. :( input of 23 yields output of 92
  12. \ expected output, not a prompt for input
  13. :( input of 4.2 yields output of 18
  14. \ expected output, not a prompt for input
  15. :) rejects a negative input like -.1
  16. :) rejects a non-numeric input of "foo"
  17. :) rejects a non-numeric input of ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement