形参的调用问题,总是检查不出来
请大神看看形参的调用哪里出问题了,谢谢! #include
int joneResult(int x, int y, int z) { int sum = x + y + z; return sum/3; } int main() { int a = 10; int b = 20; int c = 30; printf("jone的计算结果是:%d",joneResult(a, b, c)); return 0; }请大神看看形参的调用哪里出问题了,谢谢! #include
int joneResult(int x, int y, int z) { int sum = x + y + z; return sum/3; } int main() { int a = 10; int b = 20; int c = 30; printf("jone的计算结果是:%d",joneResult(a, b, c)); return 0; }2016-01-23
举报