diff options
Diffstat (limited to '1553/CH2/EX2.3/2Ex3.sce')
-rw-r--r-- | 1553/CH2/EX2.3/2Ex3.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH2/EX2.3/2Ex3.sce b/1553/CH2/EX2.3/2Ex3.sce new file mode 100644 index 000000000..48da1846f --- /dev/null +++ b/1553/CH2/EX2.3/2Ex3.sce @@ -0,0 +1,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);
|