#include<stdio.h>
main()
{
int a,b,c,d,e,sum;
printf("plaese
Enter scores1:");
scanf("%d",&a);
printf("plaese
Enter scores2:");
scanf("%d",&b);
printf("plaese
Enter scores3:");
scanf("%d",&c);
printf("plaese
Enter scores4:");
scanf("%d",&d);
printf("plaese
Enter scores5:");
scanf("%d",&e);
sum=(a+b+c+d+e)/5;
printf("total
scores is %d",sum);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น