I have just finished my Greedy.c program with no errors in the program. However when I did the test (check50 2014. fall . pset1 . greedy greedy.c) it said that all of my outputs were wrong. This puzzled me because when I plugged in a number such as .41 into the program the output is 4, which is correct. So I was just wondering if my program is at fault or not.
Here is a screenshot of the problem https://i.stack.imgur.com/iEOnf.png