hello again. this is a real n00b question but why doesn't the "1.0" show up with this code?
all i get is this:Code:#include <stdio.h> main() { float x; for( x = 0; x <= 1.0; x += .1 ) printf( "%.1f ", x ); printf("\n"); }
I can't think of why it doesn't work if it satisfies all the conditions (i think).Code:0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9