Permutations to arrange N persons around a circular table | Java code to demonstrate Circular Permutation ; Function to find no . of permutations ; Driver Code
import java . io . * ; class GFG { static int Circular ( int n ) { int Result = 1 ; while ( n > 0 ) { Result = Result * n ; n -- ; } return Result ; } public static void main ( String [ ] args ) { int n = 4 ; System . out . println ( Circular ( n - 1 ) ) ; } }