最佳答案:main() {calculate(6);calculate(4);calculate(-6);return 0;}float calculate(float
最佳答案:main里面的aver应该写成0.0,然后就是f2里面的i应该赋值为i=0