(1) 1*2+2*3+...+100*101=? (2)1*2+2*3+3*4+...+n(n+1)=? (3)1*2
收藏:
0
点赞数:
0
评论数:
0
2个回答

C语言实现如下:

#include

void main()

{

int n,i=1;

long s=0;

printf("please input the n you want!:");

scanf("%d",%n);

for(;i

点赞数:
0
评论数:
0
关注公众号
一起学习,一起涨知识