# include & ltstdio.h & gt
void main()
{
int daos[5]= { };
int i,z = 0;
int max
int min
for(I = 0; I<5; i++)
{
Printf ("Enter the teacher's score:");
scanf("%d ",& ampdaos[I]);
}
max = daos[0];
min = daos[0];
for(I = 0; I<5; i++)
{
if(daos[I]& gt; Max)
max = daos[I];
if(daos[I]& lt; Minimum)
min = daos[I];
z+= daos[I];
}
Printf ("Remove the highest score %d and the lowest score %d to get the final score %d", max, min, (z-max-min)/3);
}
the second question
# include & ltstdio.h & gt
void main()
{
printf(" aaay \ n ");
printf(" AAAYYY \ n ");
printf(" AABYYYB \ n ");
printf(" AYBYYYBY \ n ");
printf(" yybyybyy ");
}
Third question
# include & ltstdio.h & gt
void main()
{
int red,gre,b;
int I = 0;
for(red = 1; Red < = 3; Red++)
{
for(GRE = 0; gre & lt5; gre++)
{
for(b = 0; b & lt6; b++)
{
if(red+GRE+b = = 5 & amp; & Red! =b)
{
Printf ("red ball %d, green ball %d, white ball %d\n", red, gre, b);
i++;
}
}
}
}
Printf("*** has %d methods ",i);
}