#include<stdio.h>
int main()
{
    int i;
    float sum = 0,score[100];
    printf("请输入10个数字:
");
    for (i = 0; i < 10; i++)
    {
        scanf_s("%f", &score[i]);
        sum = sum + score[i];
    }
    printf("平均成绩为:%.1f",sum / 10);
}