日期:2014-05-17 浏览次数:20892 次
#include<stdio.h>
#include<stdlib.h>
int max(int x, int y)
{
int z ;
if (x>y) z=x;else z=y;
return (z);
}
int main(void)
{
int a,b,c;
int max(int x,int y);
scanf("%d,%d",&a,&b);
c=max(a,b);
printf("the biggest of a and b is %d\n",c);
system("pause");
return 0;
}
#include<stdio.h>
int main(void)
{
int a,b,c;
scanf("%d,%d",&a,&b);
c=max(a,b);
printf("the biggest of a and b is %d\n",c);
system("pause");
return 0;
}