Program to convert Degree to Radian | Function for conversion ; Driver code
function Convert ( degree ) { let pi = 3.14159265359 ; return ( degree * ( pi / 180 ) ) ; } let degree = 30 ; let radian = Convert ( degree ) ; document . write ( radian ) ;