#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/09/09 02:53:07
![#include](/uploads/image/z/1559419-43-9.jpg?t=%23include+%22stdio.h%22+main%28%29+%7B+int+m%2Cn%3B+float+k%3B+for+%28m%3D6%3Bm%3E2%3Bm--%29+%7B+k%3D0%3B+for+%28n%3Dm%3Bn%3E1%3Bn--%29+k%3Dk%2Bm%2An%3B%7Dprintf+%28%22%25f%5Cn%22%2Ck%29%3B+A+5.000000+B+15.000000+C+25.000000+D+35.000000)
xՐ
@E%-X7ZISnܸ{In"i:KDXh|0 U=<*edH"'rrfws*ؼ: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