【pta】实验2-1-4 计算平均分

#include
int main(void){

int math = 87, eng = 72, comp = 93, average;

average = (math + eng + comp) / 3;


printf("math = 87, eng = 72, comp = 93, average = %d", average);




return 0;

}

【pta】实验2-1-4 计算平均分_第1张图片

你可能感兴趣的:(PTA)