#include <stdio.h>
int max(int x,int y,int z)
{}
main()
{int num1,num2,int num3;
printf("Input the first integer number: ");
scanf("%d",&num1);
printf("Input the second integer number: ");
scanf("%d",&num2);
printf("Input the three integer number: ");
scanf("%d",&num3);
printf("max=%d\n",max(num1,num2,num3));
getch();
}
{}这一段我不知道怎么弄,请帮我补充一下好吗?
我在尝试把比较两个数值的大小添加成为三个。请帮我补充下。中间那段我不太会写
[此贴子已经被作者于2007-5-3 23:11:30编辑过]