gets是得到一整行的字符串;
getchar是得到一个字符;
scanf("%s")是得到一个连续的字符串,遇到空格、回车会自动终止
1. Math.ceil()用作向上取整。
2. Math.floor()用作向下取整。
3. Math.round() 我们数学中常用到的四舍五入取整。
1. Math.ceil()用作向上取整。
2. Math.floor()用作向下取整。
3. Math.round() 我们数学中常用到的四舍五入取整。
转载于:https://www.cnblogs.com/timesdaughter/p/6548926.html