12 lines
239 B
C
12 lines
239 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
void main()
|
|
{
|
|
printf( "%f\n", floor( -3.14 ) );
|
|
printf( "%f\n", floor( -3. ) );
|
|
printf( "%f\n", floor( 0. ) );
|
|
printf( "%f\n", floor( 3.14 ) );
|
|
printf( "%f\n", floor( 3. ) );
|
|
}
|