i've written 1 program until this.. but im stucked at convert to sin, cos and tan parts.. can anyone help me to solve this problem ? i have to combine both of this coding...
# include <iostream>
# include <math.h>
using namespace std;
int main()
{
cout << "******** Trigonometric Program ********" << endl;
cout << "Please enter an angle value => ";
cin >> value;
cout << "Is the angle in Degree or Radian?" << endl;
cout << "\t" << "Type D if it is in Degree" << endl;
cout << "\t" << "Type R if it is in Radian" << endl;
cout << "Your response => ";
cin >> choice;