#include<stdio.h>
int main(void)
{ int score[5];
int totalscore = 0;
int i;
printf("please input the scores of five students:\n"); for(i=0;i<5;i++)
totalscore=totalscore+score[i];}
printf("The average score is %f\n", totalscore
/ 5.0); return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KaW50IG1haW4odm9pZCkgCnsgIGludCBzY29yZVs1XTsKICAgIGludCB0b3RhbHNjb3JlID0gMDsKICAgIGludCBpOwogICAgcHJpbnRmKCJwbGVhc2UgaW5wdXQgdGhlIHNjb3JlcyBvZiBmaXZlIHN0dWRlbnRzOlxuIik7CiAgICBmb3IoaT0wO2k8NTtpKyspCntzY2FuZigiJWQiLCZzY29yZVtpXSk7CnRvdGFsc2NvcmU9dG90YWxzY29yZStzY29yZVtpXTt9CiAgICAKICAgIHByaW50ZigiVGhlIGF2ZXJhZ2Ugc2NvcmUgaXMgJWZcbiIsIHRvdGFsc2NvcmUgLyA1LjApOwogICAgcmV0dXJuIDA7Cn0=