平均分數
user_3763047219
c_cpp
3 years ago
235 B
4
Indexable
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include<stdbool.h>
int main()
{
int chi, eng, math,sci;
int mean;
scanf("%d%d%d%d", &chi, &eng, &math,&sci);
mean = (chi + eng+ math + sci) / 4;
printf("%d", mean);
}Editor is loading...