输出三个中最大的一个数,有问题
#include<stdio.h>int main()
{
void f(int x,int y,int z);
printf("max is %d",x);
scanf("%d %d %d",&x,&y,&z);
return 0;
}
void f(int x,int y,int z)
{
printf("input:\n");
if (x<y)
x=y;
if(x<z)
x=z;
}
2012-06-19 20:31
2012-06-19 20:32
2012-06-21 19:54