#include<stdio.h>
int main( )
{ int a, b, c;
scanf ("%d,%d,%d", &a,&b,&c);
if (a>b&&a>c)
{
if (b<c) printf("min=%d\n",b);
else pirntf("min=%d\n",c);
}
if(a<b&&a<c) printf("min=%d\n",a);
}
int main()
{ int a ,b,c; scanf("%d %d %d",&a,&b,&c); if(a>b) { if(b<c) printf("min is b:%d\n",b); else printf("min is c:%d\n",c); } else if(a<c) printf("min is a:%d",a); else printf("min is c:%d",c); getch();
}
#include<stdio.h>
int main()
{ int a,b,c,min; printf("please input data:\n"); scanf("%d,%d,%d",&a,&b,&c); min=a; if(min>b) {min=b;} if(min>c) {min=c;} printf("The min data is %d\n",min); return 0;
}