summaryrefslogtreecommitdiff
path: root/1553/CH30/EX30.8/30Ex8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH30/EX30.8/30Ex8.sce')
-rw-r--r--1553/CH30/EX30.8/30Ex8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH30/EX30.8/30Ex8.sce b/1553/CH30/EX30.8/30Ex8.sce
new file mode 100644
index 000000000..d220da288
--- /dev/null
+++ b/1553/CH30/EX30.8/30Ex8.sce
@@ -0,0 +1,8 @@
+//Chapter 30 Ex 8
+
+clc;
+clear;
+close;
+total=15; chosen=11;
+noways=factorial(total)/(factorial(chosen)*factorial(total-chosen));
+mprintf("The number of ways in which a cricket 11 be chosen out of a batch of 15 players is %d",noways);