Hi,

I’m new in CS50. I ran cs50 check for correctness of project 2 (greedy). But I don’t understand the following outputs,

greedy.c exists

greedy.c compiles

input of 0.41 yields output of 4

\ expected output, but not “0.41\n4\n”

input of 0.01 yields output of 1

\ expected output, but not “0.01\n1\n”

input of 0.15 yields output of 2

\ expected output, but not “0.15\n2\n”

input of 1.6 yields output of 7

\ expected output, but not “1.60\n7\n”

input of 23 yields output of 92

\ expected output, but not “23.00\n92\n”

input of 4.2 yields output of 18

\ expected output, but not “4.20\n22\n”

rejects a negative input like -.1

rejects a non-numeric input of “foo”

rejects a non-numeric input of “”

Can somebody help me??