一道C语言题,计算1*2*3+3*4*5+.+99*100*101#include int main(void){int number,i,fac = 0,p = 0;printf("please inpput n:");scanf("%d",&number);for (i = 1 ; i

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 14:59:20
一道C语言题,计算1*2*3+3*4*5+.+99*100*101#includeintmain(void){intnumber,i,fac=0,p=0;printf("pleaseinpputn:"

一道C语言题,计算1*2*3+3*4*5+.+99*100*101#include int main(void){int number,i,fac = 0,p = 0;printf("please inpput n:");scanf("%d",&number);for (i = 1 ; i
一道C语言题,计算1*2*3+3*4*5+.+99*100*101
#include
int main(void)
{
int number,i,fac = 0,p = 0;
printf("please inpput n:");
scanf("%d",&number);
for (i = 1 ; i

一道C语言题,计算1*2*3+3*4*5+.+99*100*101#include int main(void){int number,i,fac = 0,p = 0;printf("please inpput n:");scanf("%d",&number);for (i = 1 ; i
#include
int main()
{
int number,i,fac = 0;
printf("please inpput n:");
scanf("%d",&number);
for (i = 1 ; i