summaryrefslogtreecommitdiff
path: root/3689/CH12/EX12.5/12_5.sce
blob: 3522f34ecdc019c4c8f0e70cb68602ae286064d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
////
//Variable Declaration
n = 12         //Total Number of players 
j = 5          //Number player those can play match

//Calculation
P = factorial(n)/factorial(n-j)

//Results
printf("\n Maximum Possible permutations for 5 player to play are %8d",P)