C/C++: Trouver le modulo d’une division avec la méthode ‘fmod()’

Author:

 méthode
{filelink=13272}

/*
#include

double fmod ( double x , double y  );
float fmodf ( float x , float y  );      (C99)
long double fmodl ( long double x , long double y  );      (C99)

  */

  #include

  #include 

  int main(void)
  {
    printf("%1.1fn", fmodf(10.0, 3.0));

    return 0;
  }

        /*1.0*/ 

Leave a Reply

Your email address will not be published. Required fields are marked *