#include <cstdlib> #include <iostream> #include <math.h> using namespace std;
int main(int argc, char *argv[]) { double expression1 = tan(10) + 1; double expression2 = 1.0/tan(10) + 1; if ((expression1/expression2) == tan(10)) { cout << "This is true" << endl; } else { cout << "This is not true" << endl; }
cin.get(); }