下面程序想通过函数计算三门课总分,横线处应填入的是( )。
int sumScore(int a, int b, int c) {
return a + b + c;
}
int main() {
int chinese = 88, math = 95, english = 90;
int total = __________;
cout << total;
return 0;
}
- A.
sumScore - B.
sumScore(chinese, math, english) - C.
sumScore(int chinese, int math, int english) - D.
sumScore(a, b, c)