#include <stdio.h>
int main()
{
//输入初始值
int a,b;
printf("请输入需要比较的两个数值:");
scanf("%d %d",&a,&b);
int max = 0;
//比较两个数值大小
if (a>b){
max = a;
}else{
max = b;
}
printf("最大的数是%d",max);
return 0;
}
08-14
3810
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-26