diff options
Diffstat (limited to '1553/CH2/EX2.2/2Ex2.sce')
-rw-r--r-- | 1553/CH2/EX2.2/2Ex2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH2/EX2.2/2Ex2.sce b/1553/CH2/EX2.2/2Ex2.sce new file mode 100644 index 000000000..bd71ff6d9 --- /dev/null +++ b/1553/CH2/EX2.2/2Ex2.sce @@ -0,0 +1,9 @@ +//chapter 2 Ex 2
+
+clc;
+clear;
+close;
+n1=108; n2=288; n3=360;
+V=int32([n1 n2 n3]);
+Hcf=gcd(V);
+mprintf("The HCF of given numbers is %d.",Hcf);
|