#include <
stdio.h>
#define max(a,b,c) (a>b?(a>c?a:c):(b>c?b:c))
#define min(a,b,c) (a<b?(a<c?a:c):(b<c?b:c))
int main() {
int a, b, c;
printf("a=");
scanf("%d", &a);
printf("b=");
scanf("%d", &b);
printf("c=");
scanf("%d", &c);
printf("max=%d, min=%d\n", max(a,b,c), min(a,b,c));
return 0;
}本回答被提问者采纳