blob: 249c99e6422e1d62db1a355c3efef6e1503bf0c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
////
//Variable Declaration
n = 52 //Number of cards in std . pack
j = 5 //Number of cards in subset
//Calculation
C = factorial(n)/(factorial(j)*factorial(n-j))
//Results
printf("\n Maximum Possible 5-card combinations are %8d",C)
|