作业帮 > 综合 > 作业

关于定积分~错哪儿了?急~

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 01:16:08
关于定积分~错哪儿了?急~
# 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);