I keep on getting this from check50
:( input of 0.41 yields output of 4 \ expected output, but not "input of 0.41 yields output of 4"
For all the six values 0.01 , 0.15 , 1.6 , 23 , 4.2 in greedy.c of pset1
Guys where am i wrong? My answers are correct. I am just having these 6 errors.
printf("%i\n", totalcoins);
, then I getUnexpected end of input
when I check it, and I get the same issue as you if I remove the \n.