求两个整数的乘积

// 求两个整数的乘积
#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;
}

猜你喜欢

转载自www.cnblogs.com/wyxnb/p/11689366.html