我的第八个代码
16lz
2021-02-15
我的第八个代码
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int Add(int x, int y )
{
int z = x + y;
return z;
}
int main()
{
int a = 1;
int b = 2;
int sum = Add(a,b);
printf("sum=%d\n", sum);
return 0;
}
//学习定义一个函数(数字之和的函数)
©著作权归作者所有:来自51CTO博客作者大圣?的原创作品,如需转载,请注明出处,否则将追究法律责任更多相关文章
- 我的第六个代码
- 我的第五个代码
- 我的第四个代码
- android之和时间相关的DatePicker/TimerPicker/Calendar/DatePic
- Android MediaProjection学习(一)之和ImageReader实现屏幕截图
- Android: Linear Layout and weight
- c语言计算1~n的阶乘之和
- 自学第五十一天
- 表弟的数学题,我竟然用了python才解出来