topic
It is known that the scores of a student's math, English and computer courses are 87 points, 72 points and 93 points respectively, and find the average score of the student's 3 courses (the results are output in integers).
Input format:
No input for this question
Output format:
Output results in the following format:
math = 87, eng = 72, comp = 93, average = 计算所得的平均成绩
Code
#include<stdio.h>
int main(){
printf("math = 87, eng = 72, comp = 93, average = %d",(87+72+93)/3);
return 0;
}