Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Vérifier si x > y à l’aide de la fonction ‘isgreater(x, y)’


{filelink=13278}

/*
#include
<math.h>
int isgreater ( x , y  );
int isgreaterequal ( x , y  );
*/
 
#include <stdio.h>
#include
<math.h>
 
int main(void)
{
  printf("isgreater(12.0, -12.0) %d", isgreater(12.0, -12.0));
  printf("isgreater(4.0, -4.0) %d", isgreater(4.0, -4.0));
  printf("isgreater(-2.0, 1.0) %d", isgreater(-2.0, 1.0));
  return 0;
}

No comments yet.

Leave a Comment