View difference between Paste ID: T8NjehtF and 6gFYtfma
SHOW: | | - or go back to the newest paste.
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
12+
cout << "1:Sine\n";
13-
cout << "2:Tangent
13+
cout << "2:Tangent\n";
14
cout 
15
16
17
return 0;
18
}
19
20
21
22
23