## Java program to find the trigonometric tangent of an angle

```
// Java program to find the trigonometric tangent
// of an angle
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner X = new Scanner(System.in);
double degree = 0;
System.out.print("Enter value in degree: ");
degree = X.nextDouble();
double rad = Math.toRadians(degree);
System.out.print("Trigonometric tangent is: " + Math.tan(rad));
}
}
```

## Output

```
Enter value in degree: 30
Trigonometric tangent is: 0.5773502691896257
```