摘要:
//整数相除,116-1#include<stdio.h>int main(){ int a=5,b=7,c=100,d,e,f; d=a/b*c; e=a*c/b; f=c/b*a; printf("d=%d,e=%d,f=%d\n",d,e,f); return 0;} 116-2 #inclu 阅读全文
posted @ 2019-10-16 23:31
Wyx#
阅读(278)
评论(0)
推荐(0)
摘要:
// 求两个整数的乘积#include<stdio.h>int product (int,int);int main(void) { int x,y,s; scanf("%d %d",&x,&y); s = product(x,y); printf("The mul is:%d",s); retur 阅读全文
posted @ 2019-10-16 23:26
Wyx#
阅读(798)
评论(0)
推荐(0)

浙公网安备 33010602011771号