#include <stdio.h>
int joneResult(int x, int y, int z)
{
int sum = (x+y+z)/3;
return sum;
}
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);
printf("Jone运算结果是:%d\n", jR);
printf("Jack运算结果是:");
jackResult(a,b,c)
return 0;
}
jackResult(a,b,c)
这行缺;
jackResult(a,b,c);
检查你所有的可执行语句后面是否有,没有分号为结尾的