#include
void main()
{
int i;
float a[10]={7.23,1.5,5.24,2.1,2.45,6.3,5,3.2,0.7,9.81},sum1=0,v,sum2=0;
for(i=0;i<10;i++)
sum1+=a[i];
v=sum1/10;
for(i=0;i<10;i++)
if(a[i]>=v)
sum2+=a[i];
printf("the average is %.5f\tthe total is %.5f\n",v,sum2);
}