Output errors of the check50 test gives me an interesting output:
:( input of 0.41 yields output of 4 \ expected output, but not "4"
And it does this for all the testing numbers. Since the output "looks" correct, my only possible explanation is that I didn't round my number correctly and I am actually outputing a number but possible a float behind it that doesnt show up. ie- 4.xxxx
Looking at my code, and explanations I have read on this forum, it seems right. I got my float input, converted to integer while rounding and * 100. So, maybe this isnt the problem.
Could it be the final printf of the number? I did a simple printf("%d", a); // a being my coin counter.