#include <stdio.h>
int main(void)
{
int score[5];
int totalScore = 0;
int i;
printf("Input the scores of five students:\n"); for(i=0;i<5;i++)
{
totalScore=totalScore+score[i];
}
printf("The average sore is %f\n",totalScore
/40.0); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKHZvaWQpCnsKICAgIGludCBzY29yZVs1XTsKICAgIGludCB0b3RhbFNjb3JlID0gMDsKICAgIGludCBpOwogICAgcHJpbnRmKCJJbnB1dCB0aGUgc2NvcmVzIG9mIGZpdmUgc3R1ZGVudHM6XG4iKTsKICAgIGZvcihpPTA7aTw1O2krKykKewogICAgc2NhbmYoIiVkIiwmc2NvcmVbaV0pOwogICAgdG90YWxTY29yZT10b3RhbFNjb3JlK3Njb3JlW2ldOwp9CiAgICBwcmludGYoIlRoZSBhdmVyYWdlIHNvcmUgaXMgJWZcbiIsdG90YWxTY29yZS80MC4wKTsKICAgIHJldHVybiAwOwp9