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