#include void main() { int n=10,x; float f; printf("请输入:"); scanf("%d",&x); f=1-x*2/2!+x*4/4!-x*6/6!+x*8/8!+x*10/10!; printf("%f",f);}