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);