Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
#include <iostream>#include <stdio.h>using namespace std;int main(int argc, char *argv[]){ cout << "Hello Welcome to trig 101!" << endl; cout << "Please select of the following :" << endl; cout << "1. AsinWt " << endl; cout << "2. BcosWt " << endl; cout << "3. CtanWt " << endl; int getchar(1,2,3,4); int getchar (5,6,7,8); if char(1){ float a,b,c,d; float e,f,g; cout << " Please enter Angel A: " << endl; cin >> a; cout << " Please enter Adjacent Angel a : " << endl; cin >> b; cout << "Please enter Hypotenuse : " << endl; cin >> c; cout << " Please enter Time in Military seconds :" << endl; cin >> d; e = (1/d); f = (b/c); g = a*(f*d)*e; cout << " your answer is :" << g; }; else {}; if char(2){ float a,b,c,d; float e,f,g; cout << " Please enter Angel B: " << endl; cin >> a; cout << " Please enter Opposite Angel a : " << endl; cin >> b; cout << "Please enter Hypotenuse : " << endl; cin >> c; cout << " Please enter Time in Military seconds :" << endl; cin >> d; e = (1/d); f = (b/c); g = a*(f*d)*e; cout << " your answer is :" << g; }; else {}; if char (3){ float a,b,c,d; float e,f,g; cout << " Please enter Angel C: " << endl; cin >> a; cout << " Please enter Adjacent Angel a : " << endl; cin >> b; cout << "Please enter Opposite Angel c : " << endl; cin >> c; cout << " Please enter Time in Military seconds :" << endl; cin >> d; e = (1/d); f = (b/c); g = a*(f*d)*e; cout << " your answer is :" << g; }; else {}; return 0;}