Introduction
Here is the source code for Main.java
Source
public class Main {
public static void main(String[] args) {
double x = 45;
double y = -180;
// convert them in radians
x = Math.toRadians(x);
y = Math.toRadians(y);
System.out.println(x);
System.out.println(y);
}
}