#include "stdio.h"
void max(int x , int y , int z)
{
int m;
m=x>y?x:y;
m=m>z?m:z;
printf("the max value of the there data is %d\n",m);
}
main()
{
int i,j,k;
printf("i,j,k=");
scanf("%d,%d,%d",&i,&j,&k);
max(i,j,k);
return 0;
}
void max(int x , int y , int z)
{
int m;
m=x>y?x:y;
m=m>z?m:z;
printf("the max value of the there data is %d\n",m);
}
main()
{
int i,j,k;
printf("i,j,k=");
scanf("%d,%d,%d",&i,&j,&k);
max(i,j,k);
return 0;
}
疯狂,我的追求!