编写函数int fun(int x,long int y),

[复制链接]
查看11 | 回复2 | 2010-6-8 22:05:51 | 显示全部楼层 |阅读模式
功能:计算满足表达式x0+x1+x2+...+xn
int fun(int x,long int y)
{
}
void main()
{int x;long y;
scanf("%d%ld",&x,&y);
printf("n=%d\n",fun(x,y));
}

回复

使用道具 举报

千问 | 2010-6-8 22:05:51 | 显示全部楼层
http://zhidao.baidu.com/question/157629810.html这个我回答过了~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行