Find the angle of Rotational Symmetry of an N | Function to find required minimum angle of rotation ; Store the answer in a double variable ; Calculating the angle of rotation and type - casting the integer N to double type ; Driver code
function minAnglRot ( N ) { let res ; res = 360 / N ; return res ; } let N = 4 ; document . write ( " " + minAnglRot ( N ) ) ;