summaryrefslogtreecommitdiff
path: root/3689/CH12/EX12.3
diff options
context:
space:
mode:
Diffstat (limited to '3689/CH12/EX12.3')
-rw-r--r--3689/CH12/EX12.3/12_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3689/CH12/EX12.3/12_3.sce b/3689/CH12/EX12.3/12_3.sce
new file mode 100644
index 000000000..31943959e
--- /dev/null
+++ b/3689/CH12/EX12.3/12_3.sce
@@ -0,0 +1,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)
+