summaryrefslogtreecommitdiff
path: root/1709/CH5/EX5.3
diff options
context:
space:
mode:
Diffstat (limited to '1709/CH5/EX5.3')
-rwxr-xr-x1709/CH5/EX5.3/5_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1709/CH5/EX5.3/5_3.sce b/1709/CH5/EX5.3/5_3.sce
new file mode 100755
index 000000000..ab51f2793
--- /dev/null
+++ b/1709/CH5/EX5.3/5_3.sce
@@ -0,0 +1,8 @@
+clc
+//Initialization of variables
+N=6
+g=8
+//calculations
+sig=factorial(g) /(factorial(N) *factorial(g-N))
+//results
+printf("No. of ways = %d ",sig)