Current location - Training Enrollment Network - Mathematics courses - C language programming (find the value of mathematical function f (x) = x 3+x 2+x+ 1
C language programming (find the value of mathematical function f (x) = x 3+x 2+x+ 1
# include & ltstdio.h & gt

Invalid? Master ()

{

int? x? =? 0;

int? The result? =? 0;

printf(" x = ");

scanf("%d ",& ampx);

The result? =? x*x*x? +? x*x? +? x? +? 1;

printf("f(x)=%d\n ",result);

Return;

}