这个错误应该怎么修改呀

img


D: \ next\ next. cpp( 8) : error C2064: term does not evaluate to a function Error executing cl.exe.D: \下一步\下一步。cpp(8):错误C2064:执行cl.exe时,term的计算结果不是函数错误。这个错误应该怎么改正?

你把变量a丢进了printf里,而不是自定义函数里
注意括号

img


函数两个参数 a写外面了
这函数定义 是 int Avrerage(int n. int a[]);
和 int ReadScore(int a[]);

int (Average)是什么写法?

term does not evaluate to a function问题是

1、将类成员的后面加了(),被当做函数调用。

2、将[]写成()

int (Average)写错了,函数调用不是这样写的,你去掉吧