#include"stdio.h"#include<math.h>#include<stdlib.h>double a[100];double ss(double d[100]) { int i; double x,y; for(i=0;i<100;i++){ x=d[i]; x=sin(y); printf("%f",y);} } int main() { double y; ss(a); system("PAUSE"); return 0; }不知道是不是你想要的。。你看看吧。。
追问运行有1错误怎么回事啊。
追答什么错误?你把错误复制上来。、、