summaryrefslogtreecommitdiff
path: root/1553/CH30/EX30.1/30Ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH30/EX30.1/30Ex1.sce')
-rw-r--r--1553/CH30/EX30.1/30Ex1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH30/EX30.1/30Ex1.sce b/1553/CH30/EX30.1/30Ex1.sce
new file mode 100644
index 000000000..a4a076160
--- /dev/null
+++ b/1553/CH30/EX30.1/30Ex1.sce
@@ -0,0 +1,8 @@
+//Chapter 30 Ex 1
+
+clc;
+close;
+clear;
+n1=30; n2=28;
+ans=factorial(30)/factorial(28);
+mprintf("The value of expression is %d",ans);