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