#include <stdio.h> #include <math.h> int main(void) { printf("islessgreater(1.0, 2.0) %d\n", islessgreater(1.0, 2.0)); printf("islessgreater(1.0, 1.0) %d\n", islessgreater(1.0, 1.0)); printf("islessgreater(2.0, 1.0) %d\n", islessgreater(2.0, 1.0)); return 0; }
islessgreater(1.0, 2.0) 1 islessgreater(1.0, 1.0) 0 islessgreater(2.0, 1.0) 1