// 求两个整数的乘积
#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;
}
原文地址:https://www.cnblogs.com/wyxnb/p/11689366.html
时间: 2024-10-20 03:19:05