#include <stdio.h>
#define MAX(a,b) (a>b)?a:b
void main()
{
int x, y, max;
printf("请输入两个整数:");
scanf_s("%d%d", &x, &y);
max = MAX(x, y);
printf("较大数为:%d\n", max);
}
#include <stdio.h>
#define MAX(a,b) (a>b)?a:b
void main()
{
int x, y, max;
printf("请输入两个整数:");
scanf_s("%d%d", &x, &y);
max = MAX(x, y);
printf("较大数为:%d\n", max);
}