怎么会出现这些啊 'a' :not in formal parameter list 'b' :not in forma
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/09 10:10:28
怎么会出现这些啊 'a' :not in formal parameter list 'b' :not in formal parameter
//将a,b,c从大到小的顺序输出.
#include
int main()
float a,b,c,t;
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{t=a;
a=b;
b=t;
}
if(a>c)
{t=a;
a=c;
c=t;
}
if(b>c)
{t=b;
b=c;
c=t;
}
printf("%5.2f","%5.2f","%5.2f\n",a,b,c);
return 0;
}
#include<stdio.h>
int main()
float a,b,c,t;
printf("请输入3个数:\n");
scanf("%f,%f,%f",&a,&b,&c);//浮点型的, a,b,c前面还要加&么.
if(a>b)
{t=a;a=b;b=t}
if(a>c)
{t=a;a=c;c=t};
if(b>c)
{t=b;b=c;c=t;}
printf("%5.2f","%5.2f","%5.2f\n",a,b,c);
return 0;
}
//将a,b,c从大到小的顺序输出.
#include
int main()
float a,b,c,t;
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{t=a;
a=b;
b=t;
}
if(a>c)
{t=a;
a=c;
c=t;
}
if(b>c)
{t=b;
b=c;
c=t;
}
printf("%5.2f","%5.2f","%5.2f\n",a,b,c);
return 0;
}
#include<stdio.h>
int main()
float a,b,c,t;
printf("请输入3个数:\n");
scanf("%f,%f,%f",&a,&b,&c);//浮点型的, a,b,c前面还要加&么.
if(a>b)
{t=a;a=b;b=t}
if(a>c)
{t=a;a=c;c=t};
if(b>c)
{t=b;b=c;c=t;}
printf("%5.2f","%5.2f","%5.2f\n",a,b,c);
return 0;
}
帮你改了一下
#include
int main()
{
float a,b,c,t;
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{t=a;
a=b;
b=t;
}
if(a>c)
{t=a;
a=c;
c=t;
}
if(b>c)
{t=b;
b=c;
c=t;
}
printf("%5.2f,%5.2f,%5.2f\n",a,b,c);
return 0;
}
再问: scanf("%f,%f,%f",&a,&b,&c);//浮点型的, a,b,c前面还要加&么
再答: 需要加
#include
int main()
{
float a,b,c,t;
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{t=a;
a=b;
b=t;
}
if(a>c)
{t=a;
a=c;
c=t;
}
if(b>c)
{t=b;
b=c;
c=t;
}
printf("%5.2f,%5.2f,%5.2f\n",a,b,c);
return 0;
}
再问: scanf("%f,%f,%f",&a,&b,&c);//浮点型的, a,b,c前面还要加&么
再答: 需要加
C程序检验.请问有什么错误,执行时总是提示; error C2085: 'a' : not in formal para
adoquery1,Parameter not found
not all in a
初一下册英语Match the words in List A with those in List B.List A
not a little not in the least分别是什么意思啊?
FTP连接出现530 not logged in
parameter 'xxx' not found (急!)
List congsists not in hading good cards,but in playing well
___all fish live in the water.a.not.b./
__come in,please.A Will B Do C Will not
there a school in his villge?A.Yes B.I'm not sure C.Not now
They ()a walk in the evening.a:are not taking.b:not have.c:d