summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.15/2Ex15.sce
blob: 00d39dcc7cdf316310570e8b7b9ae7c46451c6b0 (plain)
1
2
3
4
5
6
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);