输入一个度数求出cos sin tan. 内置函数的返回值是弧度,要先把角度换成弧度. 弧度=角度*pi/180*/. double a,b;. cin >>a;. b=a*pi/180;.
確定! 回上一頁