Angle subtended by an arc at the centre of a circle | Function to find Angle subtended by an arc at the centre of a circle ; Driver code
function angle ( n ) { return 2 * n ; } let n = 30 ; document . write ( angle ( n ) ) ;