#include <stdio.h> #include <math.h> int main ( void ) { double x = 5.0, y = 2.0; double result; result = fmod ( x,y ); printf ( "The remainder of (%lf / %lf) is \ %lf\n", x, y, result ); return 0; }