/*求两个整数的乘积*/ #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); return 0; } int product(int a,int b) {int mul; mul=a*b; return mul; }
实验1 C语言开发环境使用和数据类型、运算符、和表达式
猜你喜欢
转载自www.cnblogs.com/blogdzm/p/10587129.html
今日推荐
周排行