
#include <syslib.h>
#include <math.h>
main()
{
float x,y;
clrscr(); // clear screen
textmode ( 0x00 ); // 6 lines per LCD screen
x=74.12;
y=6.4;
printf ( "74.12/6.4: %f\n",fmod ( x,y ) );
x=74.12;
y=-6.4;
printf ( "74.12/(-6.4): %f\n",fmod ( x,y ) );
getchar();
return 0;
}



