关于定积分~错哪儿了?急~# include # define N 100# define F(x) (x)*(x)*(x)float sab(float a,float b){ float h,sum=0; scanf("%f%f",&a,&b); h=(b-a)/N; for(;a

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 13:52:16
关于定积分~错哪儿了?急~# include  # define N 100# define F(x) (x)*(x)*(x)float sab(float a,float b){ float h,sum=0;  scanf(

关于定积分~错哪儿了?急~# include # define N 100# define F(x) (x)*(x)*(x)float sab(float a,float b){ float h,sum=0; scanf("%f%f",&a,&b); h=(b-a)/N; for(;a
关于定积分~错哪儿了?急~
# include
# define N 100
# define F(x) (x)*(x)*(x)
float sab(float a,float b)
{ float h,sum=0;
scanf("%f%f",&a,&b);
h=(b-a)/N;
for(;a

关于定积分~错哪儿了?急~# include # define N 100# define F(x) (x)*(x)*(x)float sab(float a,float b){ float h,sum=0; scanf("%f%f",&a,&b); h=(b-a)/N; for(;a
float sab(float a,float b) 函数里多了一个scanf("%f%f",&a,&b);