#include <stdio.h>
int main()
{
int i, a, sum=0, data[10];
double average;
for (i=0; i<10; i++)
{
data[i] = a;
}
for (i=0; i<10; i++)
sum = sum + data[i];
average = (double)sum / 10.0;
printf("平均点は %lf 点です。",average
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewoJaW50IGksIGEsIHN1bT0wLCBkYXRhWzEwXTsKCWRvdWJsZSBhdmVyYWdlOwoKCWZvciAoaT0wOyBpPDEwOyBpKyspCgl7CgkJc2NhbmYoIiVkIiwmYSk7CgkJZGF0YVtpXSA9IGE7Cgl9CgoJZm9yIChpPTA7IGk8MTA7IGkrKykKCQlzdW0gPSBzdW0gKyBkYXRhW2ldOwoKCWF2ZXJhZ2UgPSAoZG91YmxlKXN1bSAvIDEwLjA7CgoJcHJpbnRmKCLlubPlnYfngrnjga8gJWxmIOeCueOBp+OBmeOAgiIsYXZlcmFnZSk7CglyZXR1cm4gMDsKfQ==