/* The Floor statement. Floor is the equivalent of the INT function of BASIC */
#include math
main( )
{
int k, n, z;
float x, m;
x= 17.6;
k= floor(x);
m= 17.9;
n= floor(m);
z= floor(k/n);
printf("%d \n %d\n %d", k, n, z);
}
Output will be
17
17
1