#include <stdio.h>
int main()
{
int n, count = 1;
float x, average, sum = 0;
while ( count <= n)
{
sum += x;
count++;
}
average = sum/n;
printf("\nThe average is %f\n",average
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewogaW50IG4sIGNvdW50ID0gMTsKIGZsb2F0IHgsIGF2ZXJhZ2UsIHN1bSA9IDA7CiBwcmludGYoIkhvdyBtYW55IG51bWJlcnM/ICIpOwogc2NhbmYoIiVkIiwgJm4pOwogd2hpbGUgKCBjb3VudCA8PSBuKQogewogcHJpbnRmKCJ4ID0gIik7CiBzY2FuZigiJWYiLCAmeCk7CiBzdW0gKz0geDsKIGNvdW50Kys7CiB9CiBhdmVyYWdlID0gc3VtL247CiBwcmludGYoIlxuVGhlIGF2ZXJhZ2UgaXMgJWZcbiIsYXZlcmFnZSk7CiByZXR1cm4gMDsKfQ==