平均分數

 avatar
user_3763047219
c_cpp
2 years ago
235 B
0
Indexable
Never
#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);
}