四舍五入函数
int round(double a)
功能:返回数字最接近的整数,四舍五入
例:
round(3.48)
结果为:
3
round(3.5)
结果为:
4