哪位高手帮忙看下二分法解方程哪里出错了#include #include #include #include int n; double c[16]; double Func(double); int BisectRoot(double,double,double,double,double *,int,int *); int main() { int i,m; double a,b,h,eps,*x; prin
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 20:37:16
哪位高手帮忙看下二分法解方程哪里出错了#include #include #include #include int n; double c[16]; double Func(double); int BisectRoot(double,double,double,double,double *,int,int *); int main() { int i,m; double a,b,h,eps,*x; prin
哪位高手帮忙看下二分法解方程哪里出错了
#include
#include
#include
#include
int n;
double c[16];
double Func(double);
int BisectRoot(double,double,double,double,double *,int,int *);
int main()
{
int i,m;
double a,b,h,eps,*x;
printf("Please input integer k:\n");
scanf("%d",&n); /*方程的最高次方*/
printf("Please input %d coefficients one by one:\n",n+1);
for(i=0;i
哪位高手帮忙看下二分法解方程哪里出错了#include #include #include #include int n; double c[16]; double Func(double); int BisectRoot(double,double,double,double,double *,int,int *); int main() { int i,m; double a,b,h,eps,*x; prin
没错啊 你电脑有病毒吧