要求的程序如下:#include#includemain(){ double x; scanf("%lf",&x); printf("sin%d=%lf\n",(int)x,sin(x*3.1415926/180)); printf("cos%d=%lf\n",(int)x,cos(x*3.1415926/180));}