summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.16/2Ex16.sce
blob: 52285511d6e3b68c470f2e4ecb22046535e72aa1 (plain)
1
2
3
4
5
6
7
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);