I am re-/learning and want to get better in C and wrote a short program which purpose is to give the biggest value of 10 entered values. The thing is that I always get 0 as result. The values are correctly stored but the if() is never executed?
The entered values are of type int, but biggest_value is of type double and is displayed as a type int. Either change biggest_value to type int or output biggest_value as %f rather than %d.
I thought there is an implicit conversion by the compiler?
Yes there is. But that's not the problem.
You tried to output a double with a %d format specifier. That's the problem. Strangely, 'd' doesn't stand for double here!
BTW, using printf and scanf without flushing streams doesn't work very well on either my PC or the cpp shell.