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

clc;
clear;
close;
n1=513; n2=1134; n3=1215;
V=int32([n1 n2 n3]);
Hcf=gcd(V);
mprintf("The HCF of given numbers is %d.",Hcf);