Computer Science, asked by sonalikudachikar, 10 months ago

write a algorithm of HCF (GCD) of two numbers​

Answers

Answered by charlie1505
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