Question: Write a program that writes to a file: sine.txt, that lists the angle (degrees), calculates the sine of the angle, and writes out two columns,

Write a program that writes to a file: "sine.txt", that lists the angle (degrees), calculates the sine of the angle, and writes out two columns, with angle and sine of the angle separated by four spaces. This is the whole program, so include the class, main method, any import statements needed, etc. Select at least 5 angles, e.g., 0, 30, 45, 60, 90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
