summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.6/2Ex6.sce
blob: 2beebe8b915e9d5bed28b9ae0cce8b43ab63a303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter 2 Ex 6

clc;
clear;
close;
n1=72; n2=108; n3=2100;
V=int32([n1 n2 n3]);
Lcm=lcm(V);
mprintf("The LCM of given numbers is %d.",Lcm);