summaryrefslogtreecommitdiff
path: root/3689/CH12/EX12.3/12_3.sce
blob: 31943959eaf7af0398f0c120d625a4257fce05f0 (plain)
1
2
3
4
5
6
7
8
////Variable Declaration
n = 52          //Total cards

//Calculations
TotalM = n*(n-1)*(n-2)*(n-3)*(n-4)
//Results
printf("\n Total number of Five card arrangment from a deck of 52 cards is %d",TotalM)