好久不写了

少个括号就错了,调了半天;

需将average定义为double;

原文地址:https://www.cnblogs.com/Fisheep/p/7698906.html