实现代码 一定要注意在包含double(float)和int类型的运算中要将整形带小数点或者乘1.0 #include<stdio.h> int main() { int m,n,i; double sum,k; while