This is the output I need, but the tan of 90 and 270 made vary because they are supposed to be undefined. I added the tan into the code.
Degree Sin Cos Tan
0 0.0000 1.0000 0.0000
...
Type: Posts; User: my21
This is the output I need, but the tan of 90 and 270 made vary because they are supposed to be undefined. I added the tan into the code.
Degree Sin Cos Tan
0 0.0000 1.0000 0.0000
...
System.out.println("Degree\tSin\t\tCos\t\tTan");
int i = 0;
String str = "";
for (int degree = 0; degree <= 360; degree += 30) {
if (i == 0)
{ str =...
My assignment is Write a static void method called printTrigTables that prints the sin, cos, and tan of angles
////between 0 and 360 in increments of 30 degrees. The first column should be the...