weixin_慕田峪504134
2019-10-22 13:55
#include <stdio.h>
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);
printf("Jone运算结果是:%d\n",jR);
printf("Jack运算结果是:");
void jackResult(a,b,c);
return 0;
}
void中不用return 0
C语言入门
926206 学习 · 20797 问题
相似问题