#include float fu( float x) { return (x*x+2*x-8.0)/(2.0*x-4.0); } main() { float x; printf("Enter x: "); scanf("%f", &x); printf("f(x) = %f\n", fu(x)); }