#include <stdio.h>
void main ()
{
int a=0, counter, sum=0;
float p=0;
for (counter=0; a!=9999; counter++)
{
sum+=a;
printf ("Enter the integers ");
scanf ("%d", &a);
}
if(counter=1)
p=0;
else
p=(float)(sum)/(counter-1);
printf ("The privade of the integers is: %f\n", p);
return ;
}