IsLess Function


  • It is used for checking between numbers .
  • It returns non-zero value on 1st number being less .

  • Syntax:

    int isless(float arg1 , float arg2);

    Example:

    #include <stdio.h>
    #include <math.h>
    int main()
    {
    
      printf("isless(3.0, 2.0) %d\n", isless(3.0, 2.0));
    
      printf("isless(5.03, 5.03) %d\n", isless(5.03, 5.03));
    
      printf("isless(2.0, 14.0) %d\n", isless(2.0, 14.0));
    
      return 0;
    
    }
     
    Back