Write a program that asks the user for an angle, entered in degrees. The program should convert the degrees to radians (there are π/180 radians per degree) and display the radians. Use a named constant for π. The program should then display the sine, cosine, secant, cosecant, tangent, and cotangent of the angle. (Use the sin, cos, and tan library functions to determine these values.) The output should be displayed in tabular format with the data labeled using fixed-point notation, rounded to four decimal places of precision.

Respuesta :

Answer:

Answer has been added to this response as a source code file. Please download the file to get the answer. File should be saved as "AngleConversion.java" to run it on your machine

Explanation:

The code contains comments explaining every segment of the code. Kindly go through the code's comments.

Hope this helps!

Ver imagen stigawithfun
Q&A Education