先看代码 #include<iostream> #include<iomanip> using namespace std; double Fact(int n) { int i; double result = 1; for (i=2; i<=n; i++) result *= i; return result; } int m…
角度和弧度的基本关系是: 180角度等于π 弧度. 所以有以下关系: 弧度 = 角度 * π / 180 度分秒换算的公式如下:度分秒=度+分/60+秒/3600=度
这是博客的第一篇文章