I'm trying to check my greedy program with check50. I'm wondering whether my output must match the one required per the pset specification page.
Here's check50's output
jharvard@appliance (~/Dropbox/pset1): ./greedy
enter the amount(non-negative value) that should be return
.34
the amount is 34The number of coins are
1 Quarter , 0 dime , 1 nickle , 4 penny = total coins are 6
jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/greedy greedy.c
:) greedy.c exists
:) greedy.c compiles
:( input of 0.41 yields output of 4
\ expected output, but not "the amount is 41 \n\n The number of coi..."
:( input of 0.01 yields output of 1
\ expected output, but not "the amount is 1 \n\n The number of coin..."
:( input of 0.15 yields output of 2
\ expected output, but not "the amount is 15 \n\n The number of coi..."
:( input of 1.6 yields output of 7
\ expected output, but not "the amount is 160 \n\n The number of co..."
:( input of 23 yields output of 92
\ expected output, but not "the amount is 2300 \n\n The number of c..."
:( input of 4.2 yields output of 18
\ expected output, but not "the amount is 420 \n\n The number of co..."
:) rejects a negative input like -.1
:) rejects a non-numeric input of "foo"
:) rejects a non-numeric input of ""
https://sandbox.cs50.net/checks/8cc408e358104ca79aaee011d6b13c88