int a[10] = {0};
int i = 0;
int min = 0;
while(i<10)
{
printf("请输入第%d个数",i+1);
scanf("%d",a+i);
//a = a+1;
if(i==0)
{
min = a[i];
}
if (min >a[i])
{
min = a[i];
}
i++;
}
return min;
int i = 0;
int min = 0;
while(i<10)
{
printf("请输入第%d个数",i+1);
scanf("%d",a+i);
//a = a+1;
if(i==0)
{
min = a[i];
}
if (min >a[i])
{
min = a[i];
}
i++;
}
return min;