2564| 2
|
帮忙找一下错误 |
1鱼币
最佳答案#include(stdio.h) //#include
#include(math.h) //#include
int max (int a,int b); //函数声明
void main()
{
int x,y,z;
int max(int a,int b);
printf("inpur two munbers:\n");
scanf("%d%d",&x,&y);
z=max(x,y);
printf("max munber=%d", z);
return 0;
}
int max(int a,int b) //没 ";"
{
if(a>b) return a;
else return b;
}
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2025-4-22 01:10
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.