Fmin Function
It is used to determine the greater of the two numbers .
Syntax:
float fminf(float a, float b); double fmin(double a, double b); long double fminl(long double a, long double b);
Example:
#include <math.h> #include <stdio.h> int main() { printf("%f", fmin (10.5,10.3)); printf("%f", fmin (10,12)); return 0; }Back