帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;#include#includedouble f(double x){double y;y=sin(x);y=y/x;return y;}void main(){double a,b,r,h,z,n;int k,j;double p[50][50];printf("Please input'a=?,b=?,r

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 01:46:04
帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;#include#includedouble f(double x){double y;y=sin(x);y=y/x;return y;}void main(){double a,b,r,h,z,n;int k,j;double p[50][50];printf(

帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;#include#includedouble f(double x){double y;y=sin(x);y=y/x;return y;}void main(){double a,b,r,h,z,n;int k,j;double p[50][50];printf("Please input'a=?,b=?,r
帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;
#include
#include
double f(double x)
{
double y;
y=sin(x);
y=y/x;
return y;
}
void main()
{
double a,b,r,h,z,n;
int k,j;
double p[50][50];
printf("Please input'a=?,b=?,r=?':\n");
scanf("a=%f,b=%f,r=%f",&a,&b,&r);
h=b-a;
p[0][0]=h*(f(a)+f(b))/2;
for(k=1;;k++)
{
z=0;
for(j=1;j

帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;#include#includedouble f(double x){double y;y=sin(x);y=y/x;return y;}void main(){double a,b,r,h,z,n;int k,j;double p[50][50];printf("Please input'a=?,b=?,r
double k,j,a,b,r,h,z,n;
改成
double a,b,r,h,z,n;
int k,j;
因为数组下标要是整数
同时注意
输入时:scanf("a=%f,b=%f,r=%f",&a,&b,&r);

帮忙看看这段程序哪错了,非常感激!#include #include double f(double x) { double y;#include#includedouble f(double x){double y;y=sin(x);y=y/x;return y;}void main(){double a,b,r,h,z,n;int k,j;double p[50][50];printf(Please input'a=?,b=?,r 帮忙看看哪错了 求大神看看这句程序哪错了,求正确的写法,初学, 帮忙看看这个怎么算的书上最后那个h=后面的怎么算的,怎么我算的和书上的答案就是不一样呢,我错在什么地方了,帮忙看看,万分感激! 那位老师帮忙做一下这10道微积分单选题,非常感激! 那位老师帮忙做一下这10道微积分多选选题,非常感激! 输入6个整数到数组求这六个元素的最大值和平均值谁能帮忙写下这个的程序用c++ 真的非常感谢了 看看这段vb程序哪里错了(已知一元一次方程为AX+B=0,设计一个程序,当用户输入A和B的值,输出X值,界面如Private Sub Command1_Click()Dim a As Integer,b As Integer,c As SingleText1.Text = aText2.Text = bc = -b / aText3.Te 帮忙看看这段数字什么意思?谢谢了 8045597400904539801真难懂啊谁想出来的奇奇怪怪的数字/ 谁帮我解释一下 谢谢了 初二物理生活用电常识这部分我全都忘记了,非常感激! C程序:任意输入10个整数,保存在以为数组a中,输出能被3整除的数的个数.请帮忙看看这个程序哪错了#includevoid main(){int a[10];int i,j,k;k=0;for(j=0;j C语言程序设:输入两个正整数m和n,求它们的最大公约数和最小公倍数.高手帮忙看看我设计的程序哪错了哈01.#include 02.#include 03.04.int main() 05.{ 06.int m,n,y,b; 07.scanf(%d%d,&m,&n); 08.y=m%n; 09.while(y!=0) 中译英,要求写成E-MAIL的格式尊敬的张经理:很荣幸能加入公司的大家庭.由于一些原因我要离开公司了.这段时间与同事们都相处的很开心.特别是您对我非常的照顾,我一直很感激,今后不管在哪 各位牛人帮忙看看这段代码哪里出错了 function showHello()var count=parseInt(document.getElementById(txtCount).value);for (var i=0;i 这段MATLAB程序是什么意思 这段PLC程序是什么意思 麻烦帮忙看看这段英文In recent years,as enterprises between the increasingly fierce competition.Information management technology in the development of enterprises occupy an increasingly important position.近年来,随着企业彼此间的 懂英文的进来看看 看看这段视频到底说了什么