I entered the following code (and had no compiling problems or anything):
float y = 5/2;
printf("%f\n", y);
The output was simply: 2.00000
My math isn't wrong is it? Or am I wrong on the / operator? It means divide doesn't it? And 5/2 should equal 2.5?
Any help is greatly appreciated!