#include<
stdio.h>
#include<
stdlib.h>
int main()
{
int n[5],i,isave,num;
char *c[]={"数学","语文","英语","物理","化学"};
printf("输入%s,%s,%s,%s,%s 5门的成绩:\n",c[0],c[1],c[2],c[3],c[4]);
scanf("%d%d%d%d%d",&n[0],&n[1],&n[2],&n[3],&n[4]);
num=n[0];isave=0;
for(i=0;i<5;i++)
{
if(num>n[i])
{
num=n[i];
isave=i;
}
}
printf("最低分是%s %d分",c[isave],num);
return 0;
}