1 Star 0 Fork 0

bonsai / 20155313

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.i 491 Bytes
一键复制 编辑 原始数据 按行查看 历史
bonsai 提交于 2017-09-28 18:45 . 0929
# 1 "main.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "main.c"
# 1 "head.h" 1
int add(int, int);
int sub(int, int);
int mul(int, int);
double div(int, int);
# 2 "main.c" 2
int main(void){
int a, b;
int i;
printf("enter two numbers:");
scanf("%d %d", &a, &b);
for(i=0;i<5313;i++){
}
printf("add:%d\n",add(a, b));
printf("sub:%d\n",sub(a, b));
printf("mul:%d\n",mul(a, b));
printf("div:%lf\n",div(a, b));
return 0;
}
C
1
https://gitee.com/bonsaiyoung/20155313.git
git@gitee.com:bonsaiyoung/20155313.git
bonsaiyoung
20155313
20155313
master

搜索帮助