定义了int HY = jsckResult(a,b,c);怎么输不出来??
#include <stdio.h> /* Jone算出结果应该怎么写函数? */ int joneResult(int x, int y, int z) { int sum = (x+y+z); return sum/3; } void jackResult(int x, int y, int z) { printf("我算不出来\n"); } int main() { int a, b, c; a = 10; b = 20; c = 30; int jR = joneResult(a, b, c); int HY = jackResult(a, b, c); printf("Jone运算结果是:%d\n", jR); printf("Jack运算结果是:",HY); return 0; }