11 lines
226 B
C
11 lines
226 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
void main()
|
|
{
|
|
printf( "%f\n", fmod( 4.5, 2.0 ) );
|
|
printf( "%f\n", fmod( -4.5, 2.0 ) );
|
|
printf( "%f\n", fmod( 4.5, -2.0 ) );
|
|
printf( "%f\n", fmod( -4.5, -2.0 ) );
|
|
}
|