Skip to content

Conversation

@projjwalraj707
Copy link

This program finds HCF of two numbers.
The logic behind the code is that HCF of 'a' and 'b' is same as 'a-b' and 'b'. And when one of the numbers is zero the other one is automatically the HCF of the two.

This program finds HCF of two numbers.
The logic behind the code is that HCF of 'a' and 'b' is same as 'a-b' and 'b'. And when one of the numbers is zero the other one is automatically the HCF of the two.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant