16.选出三个数中最小数的算法流程图如下图所示:
#include"stdio.h"
void main()
{
int a,b,c,min;
printf("please input the a,b and c:\n");
scanf("%d%d%d",&a,&b,&c);
if(a<b)
{
if(a<c)
min=a;
else
min=c;
}
else
{
if(b<c)
min=b;
else
min=c;
}
printf("the min is %d\n",min);
}