write a algorithm of HCF (GCD) of two numbers
Answers
Answered by
1
Explanation:
Algorithm for HCF of two nos
Start
Accept two numbers a, b
while a! =b
if a>b
then
print a=a-b;
else
print b= b-a;
print a, b
stop
Similar questions