1. 第一章 程序设计入门 1. 用到数学函数,要包含头文件, #include<cmath> 2. 用 const 关键字声明常数 3. 解决问题,保持简单。KISS : keep it simple and stupid