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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started