#include "stdio.h"
#define N 5
int min(int s[])
{
int i,min;
min=s[0];
for(i=0;iif(min>s[i])min=s[i];
for(i=0;iif(min==s[i])break;
return i;
}
void main()
{
int a[N],i,j;
printf("输入%d个整数\n",N);
for(i=0;iscanf("%d",&a[i]);
j=min(a);
printf("最小值:%d ",a[j]);
}