(1+2+3+……+100)+(1+2^2+3^2+……+50^2)+(1+1/2+1/3+……+1/10) 怎样编程?#include main(){int i=1;float s1=0,s2=0,s3=0;float j,sum;sum=s1+s2+s3;for(i=1;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/02 16:20:18
(1+2+3+……+100)+(1+2^2+3^2+……+50^2)+(1+1/2+1/3+……+1/10) 怎样编程?#include main(){int i=1;float s1=0,s2=0,s3=0;float j,sum;sum=s1+s2+s3;for(i=1;i
x){PHXQ2 640xS"bA\P A5=[iWt+g%甦*&fihVg(dZ'(c[`Nqi5ji[ite$Խ`  .3$`V @|@D _v6C/&nhS@VPx6e9+ Ƨi($Ub@&iZ+ ~vY-6yv\_=

(1+2+3+……+100)+(1+2^2+3^2+……+50^2)+(1+1/2+1/3+……+1/10) 怎样编程?#include main(){int i=1;float s1=0,s2=0,s3=0;float j,sum;sum=s1+s2+s3;for(i=1;i
(1+2+3+……+100)+(1+2^2+3^2+……+50^2)+(1+1/2+1/3+……+1/10) 怎样编程?
#include
main()
{
int i=1;
float s1=0,s2=0,s3=0;
float j,sum;
sum=s1+s2+s3;
for(i=1;i

(1+2+3+……+100)+(1+2^2+3^2+……+50^2)+(1+1/2+1/3+……+1/10) 怎样编程?#include main(){int i=1;float s1=0,s2=0,s3=0;float j,sum;sum=s1+s2+s3;for(i=1;i
将 sum=s1+s2+s3; 放在printf("sum=%f\n",sum); 之前 你试下程序还是好久前学的