怎么会出现这些啊 'a' :not in formal parameter list 'b' :not in formal parameter//将a,b,c从大到小的顺序输出.#includeint 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;}pri
来源:学生作业学帮网 编辑:学帮网 时间:2024/05/27 02:54:02
怎么会出现这些啊 '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;
}
帮你改了一下
#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;
}
这些是什么虫子啊?怎么会出现?
怎么会出现这些啊 'a' :not in formal parameter list 'b' :not in formal parameter//将a,b,c从大到小的顺序输出.#includeint 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;}pri
c++里怎么会出现term does not evaluate to a function?我是一个c++初学者,我写了下面的代码,然后运行时怎么会出现error C2064:term does not evaluate to a function?下面是我写的,到底是哪里错了?#include stdafx.h#in
FTP连接出现530 not logged in
晚上怎么会出现星星
世界怎么会出现太阳?
怎么会出现这个问题
在illustrator中,我点了工具中的网格,怎么会出现the selection is not valid for this filter呢,怎么解决啊.
not a little not in the least分别是什么意思啊?
not all in a
ANT 出现 does not exist in the project 错误怎么解决啊
我的altium designer 也出现not signed in 这个怎么解决啊,麻烦您告诉我
家里怎么会出现蚂蟥幼虫
蜻蜓冬天怎么会出现呢
This may not be allowed in a future release.这是matlab程序中出现的warning ,
我在用手机上网常出现这些英文!Your request for a service could not be fulfilled please try again or contact your operator if the
Not in a hundred years.
steps in plaster这些英文是什么意思A rabbite is fast.A fox is faster.But not when the fox,Steps in plaster