#include<stdio.h>
int main()
{
int a,b,c;
int max(int x,int y);
printf(“输入两个整数:”);
scanf("%d%d",&a,&b);
c=max(a,b);
printf(“max=%d”,c);
return 0;
}
int max(int x,int y)
{
int z;
if(x>y)
z=x;
else
z=y;
return z;
}
#include<stdio.h>
int main()
{
int a,b,c;
int max(int x,int y);
printf(“输入两个整数:”);
scanf("%d%d",&a,&b);
c=max(a,b);
printf(“max=%d”,c);
return 0;
}
int max(int x,int y)
{
int z;
if(x>y)
z=x;
else
z=y;
return z;
}