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

clc;
clear;
close;
l1=4*100+95; l2=9*100; l3=16*100+65; //converting lengths into cm
V=int32([l1 l2 l3]);
Hcf=gcd(V);
mprintf("The required length is %d cm",Hcf);