Why do I get the wrong values when I print an int using printf(\"%f\\n\", myNumber)?
int
printf(\"%f\\n\", myNumber)
I don\'t understand why it prints fine with %d>
%d>
a, b, c, d and e aren't floats. printf() is interpreting them as floats, and this would print weird stuff to your screen.