Permutations to arrange N persons around a circular table | Function to find no . of permutations ; Driver Code
function Circular ( n ) { var Result = 1 ; while ( n > 0 ) { Result = Result * n ; n -- ; } return Result ; } var n = 4 ; document . write ( Circular ( n - 1 ) ) ;