#include <stdio.h> int main() { float myInt=(float)(5/2); printf("%f\n", myInt); return 0;}
Standard input is empty
2.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!