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

clc;
clear;
close;
l1=1657; l2=2037; r1=6; r2=5; //given values
V=int32([(l1-r1) (l2-r2)]);
Hcf=gcd(V);
mprintf("The required number is %d",Hcf);