public static void Main()
double max=5,min=11,avarege=0,totala=0,totalb=0,x;
x=double.Parse(Console.ReadLine());
Console.WriteLine("enter the age for the cheldren:");
if((x>=5)&&(x<=8.5)) totala++;
if((x>8.5)&&(x<=11)) totalb++;
avarege=avarege/(totala+totalb);
Console.WriteLine("the avareg is:{0}",avarege);
Console.WriteLine("the totala and totalb is:{0},{1}",totala,totalb);
Console.WriteLine("the maximun is:{0},the minimun is{1}",max,min);