efunc.c ======= #include main() { int i, n; float min, max, x; float minimum(float, float), maximum(float, float); void prn_info(void); prn_info(); printf("Input n: "); scanf("%d", &n); printf("\nInput %d real numbers: ", n); scanf("%f", &x); min = max = x; for (i = 2; i <= n; ++i) { scanf("%f", & x); min = minimum(min, x); max = maximum(max, x); } printf("\n%s%.3f\n%s%.3f\n\n", "Minimum value: ", min, "Maximum value: ", max); } void prn_info(void) { printf("\n%s\n%s\n\n", "This program reads an integer value for n, and then", "processes n real numbers to find min and max values."); } float minimum(float x, float y) { if (x < y) return x; else return y; } float maximum(float x, float y) { if (x > y) return x; else return y; } Output: This program reads an integer value for n, and then processes n real numbers to find min and max values. Input n: 5 Input 5 real numbers: 737.7799 -11.2e+3 -777 0.001 3.14159 Minimum value: -11200.000 Maximum value: 737.780