0
点赞
收藏
分享

微信扫一扫

C语言-比较两个数的大小

#include <stdio.h>
int max(int a,int b)
{
if(a>b)
return a;
else
return b;
}

{
int x;
int y;
scanf("%d%d",x,y);
int c=max(x,y);
printf("%d\n",c);
return 0;
}

举报

相关推荐

0 条评论