#include "stdio.h" main() { int m,n; float k; for (m=6;m>2;m--) { k=0; for (n=m;n>1;n--) k=k+m*n;}printf ("%f\n",k); A 5.000000 B 15.000000 C 25.000000 D 35.000000

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 15:50:23
#include 2;m--) { k=0; for (n=m;n>1;n--) k=k+m*n;}printf ("%f\n",k); A 5.000000 B 15.000000 C 25.000000 D 35.000000" />
xՐ @ E%-X 7ZISnܸ{In"i: KDXh|0 U=<*edH"'rrf ws*ؼ: a ( rH'A6V/6Aq͇cıU~z{Eق;h

#include "stdio.h" main() { int m,n; float k; for (m=6;m>2;m--) { k=0; for (n=m;n>1;n--) k=k+m*n;}printf ("%f\n",k); A 5.000000 B 15.000000 C 25.000000 D 35.000000
#include "stdio.h" main() { int m,n; float k; for (m=6;m>2;m--) { k=0; for (n=m;n>1;n--) k=k+m*n;}
printf ("%f\n",k);
A 5.000000 B 15.000000 C 25.000000 D 35.000000

#include "stdio.h" main() { int m,n; float k; for (m=6;m>2;m--) { k=0; for (n=m;n>1;n--) k=k+m*n;}printf ("%f\n",k); A 5.000000 B 15.000000 C 25.000000 D 35.000000
BBBBB 15.000000