#include
int main(void)
{ int a,b,c,d,max1,min1,max2,min2;
printf("请输入四位整数:");
scanf("%d %d %d %d",&a,&b,&c,&d);
if(a>b)
{max1=a;min1=b;}
else
{max1=b;min1=a;}
if(c>d)
{max2=c;min2=d;}
else
{max2=d;min2=c;}
if(max1 max1=max2; if(min1>min2) min1=min2; printf("最大值是%d\n",max1); printf("最小值是%d\n",min1); return 0; }
#include
main()
{
int a,b,c,d,max,min;
scanf("%d,%d,%d,%d",&a,&b,&c,&d);
max = a;min = a;
if(b>max) max = b;
if(c>max) max = c;
if(d>max) max = d;
if(b
}