also bei deinem Code kommt bei mir erstmal die Meldung:
test.c: In function 'main':
test.c:29: warning: format '%f' expects type 'double', but argument 2 has type 'float'
mfg
jagdfalke