summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.15/2Ex15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH2/EX2.15/2Ex15.sce')
-rw-r--r--1553/CH2/EX2.15/2Ex15.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1553/CH2/EX2.15/2Ex15.sce b/1553/CH2/EX2.15/2Ex15.sce
new file mode 100644
index 000000000..00d39dcc7
--- /dev/null
+++ b/1553/CH2/EX2.15/2Ex15.sce
@@ -0,0 +1,7 @@
+//chapter 2 Ex 15
+clc;
+clear;
+close;
+n1=12; n2=15; n3=20; n4=27;
+n=lcm(int32([n1,n2,n3,n4]));
+mprintf("The required number is %d",n);