Adilol

trig

Nov 4th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <stdio.h>
  3. #include <math.h>
  4. #include <cmath>
  5. using namespace std;
  6. int main()
  7. {
  8. double angle, sin_result, cos_result, tan_result, length_adj, length_hyp, length_opp;
  9. cout << "Trigonometry Calculator\n";
  10. cout << "Enter your angle\n";
  11. cin >> angle;
  12. cout << "1:Sine\n";
  13. cout << "2:Tangent\n";
  14. cout
  15.  
  16.  
  17. return 0;
  18. }
  19.  
  20.  
  21.  
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment