编写函数fun,函数的功能是:求1到100之间的偶数之积

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/13 02:31:09
编写函数fun,函数的功能是:求1到100之间的偶数之积
x){gӶO>!4Oz>i{Xolcӎ Ovv$ٸ }|MR>5/{3sJSR19e) y% ѱ: :'5O,] &AB pnIn_a VE3=9:3  @l Z$deniFrFbB"Е`FԹ@g;7P'H'S'jmqIDML$IL[L<;PDu

编写函数fun,函数的功能是:求1到100之间的偶数之积
编写函数fun,函数的功能是:求1到100之间的偶数之积

编写函数fun,函数的功能是:求1到100之间的偶数之积
#include
#include
void swap(int c[],int len)
{
int i = 0;
int tmp;
for (; i < len; ++i,--len)
{
tmp = c[i];
c[i] = c[len];
c[len] = tmp;
}
}
int mul(char a[],char b[],int c[])
{
int c1,c2,i,k;
c1=strlen(a);
c2=strlen(b);
for(i=0;i