int islessequal(a, b): Returns nonzero if a is less than or equal to b. : islessequal « math.h « C Tutorial






#include <stdio.h>
#include <math.h>

int main(void)
{
  printf("islessequal(1.0, 2.0) %d\n", islessequal(1.0, 2.0));
  printf("islessequal(1.0, 1.0) %d\n", islessequal(1.0, 1.0));
  printf("islessequal(2.0, 1.0) %d\n", islessequal(2.0, 1.0));
  return 0;
}
islessequal(1.0, 2.0) 1
islessequal(1.0, 1.0) 1
islessequal(2.0, 1.0) 0








19.35.islessequal
19.35.1.int islessequal(a, b): Returns nonzero if a is less than or equal to b.