Computer Science, asked by Snigdhaxo, 1 month ago

1) Write the Algorithm to find the HCF of two numbers and explain the example with 18, 24


please someone tell me it's Urgent ​

Answers

Answered by aditdwivedi336
1

Answer:

Let A and B be two numbers, to find the HCF

i) Divide B by A

ii)Divide A by remainder of B/A

Repeat this process until the remainder is zero.

Te last divisor is your HCF

Explanation:

24/18

Remainder is 6

18/6

Remainder is zero

So 6is HCF of 18 and 24

Similar questions