#include <stdio.h>
int main()
{
int i, a, data[5], sum;
double average;
for ( i=0 ; i<5 ; i++ )
{
}
printf("入力された数:%d,%d,%d,%d,%d \n", data
[0], data
[1], data
[2], data
[3], data
[4]); sum = 0;
for ( i=0 ; i<5 ; i++ ) sum = sum + data[i];
average = sum / 5.0;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewoJaW50IGksIGEsIGRhdGFbNV0sIHN1bTsKCWRvdWJsZSBhdmVyYWdlOwoJcHJpbnRmKCLvvJXjgaTjga7mlbTmlbDjgpLlhaXlipvjgZfjgabjgY/jgaDjgZXjgYRcbiIpOwoJZm9yICggaT0wIDsgaTw1IDsgaSsrICkKCXsKCQlzY2FuZigiJWQiLCZkYXRhW2ldKTsKCX0KCXByaW50Zigi5YWl5Yqb44GV44KM44Gf5pWw77yaJWQsJWQsJWQsJWQsJWQgXG4iLCBkYXRhWzBdLCBkYXRhWzFdLCBkYXRhWzJdLCBkYXRhWzNdLCBkYXRhWzRdKTsKCXN1bSA9IDA7Cglmb3IgKCBpPTAgOyBpPDUgOyBpKysgKSAgc3VtID0gc3VtICsgZGF0YVtpXTsKCWF2ZXJhZ2UgPSBzdW0gLyA1LjA7CglwcmludGYoIuW5s+Wdh+WApO+8nSVsZlxuIixhdmVyYWdlKTsKCXJldHVybiAwOwp9