Hello, I am having a problum working on a project. how do I initialized a something that I do not want a varaiable to effect.
import java.lang.*;
import java.util.Scanner;
public class HW05_03 {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int angleInDeg;
double angleInRadians = Math.toRadians(angleInDeg);
// prompted the user
System.out.println("Enter an angle: ");
angleInDeg = stdIn.nextInt();
System.out.println("sin(Deg) = " + Math.sin(angleInRadians));
System.out.println("cos(Deg) = " + Math.cos(angleInRadians));
System.out.println("tan(Deg) = " + Math.tan(angleInRadians));
System.out.println();
}
}