Question: Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the
Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the angle. (Use the sin, cos, and tan library functions to determine these values.) The output should be displayed in fixed-point notation, rounded to four decimal places of precision.
Using the following test data: 2.0
Your output should look like this: Enter an angle in radians: Sine: 0.9093 Cosine: -0.4161 Tangent: -2.1850
This is C++ and use visual studio 2017 please.
Use blank lines to separate the major parts of your main function and show your output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
