题目
建立一个角类,在这个类中重载减号运算符(角度相减),并实现求出角度的正弦值的函数。
Input
输入第一行为样例数m,接下来有m行每行两个整数表示角度。
Output
输出m行,表示两角相减的正弦值,保留小数点后两位。
样例输入
1
60 30
样例输出
0.50
code
#include<iostream>
#include <math.h>
using namespace std;
double const PI=
1
60 30
0.50
#include<iostream>
#include <math.h>
using namespace std;
double const PI=