题解 | #牛牛学除法#
牛牛学除法
https://www.nowcoder.com/practice/87d9a743deec433cb307ccfa43a763f7
#include <stdio.h> //小白做法,大佬勿喷 //定义除法函数 int cf(x,y) { return (x/y); } int main() { int a, b; scanf("%d%d",&a,&b); int c=cf(a,b); printf ("%d",c); return 0; }
牛牛学除法
https://www.nowcoder.com/practice/87d9a743deec433cb307ccfa43a763f7
#include <stdio.h> //小白做法,大佬勿喷 //定义除法函数 int cf(x,y) { return (x/y); } int main() { int a, b; scanf("%d%d",&a,&b); int c=cf(a,b); printf ("%d",c); return 0; }
相关推荐