对应于:x°=2*pi(x/360)
#include <iostream>
#include <cmath>
using namespace std;
const double PI=3.1415926535879;
int main() {
double angle;
cout<<"请输入角度"<<endl;
cin>>angle;
double radian=angle*PI/180;
cout<<"sin("<<angle<<")="<<(int)sin(radian)<<endl;
cout<<"cos("<<angle<<")="<<(int)cos(radian)<<endl;
cout<<"tan("<<angle<<")="<<(int)tan(radian)<<endl;
return 0;
}