Java degree to radians


*********************************************************************
COMPLETE SOURCE CODE FOR : DegreeToRadians.java
*********************************************************************


public class DegreeToRadians
{
public static void main(String[]args)
{
//90 degree
double degree=90;

//Get radians value for 90 degree
double radians=Math.toRadians(degree);

System.out.println(radians);
}
}


*********************************************************************
JUST COMPILE AND EXECUTE IT
*********************************************************************