Skip to content

UPDATED THE GCD FUNCTION AND MADE IT MORE EFFICIENT #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DEVIL-NEEL
Copy link

@DEVIL-NEEL DEVIL-NEEL commented Oct 21, 2022

I am creating a pull request for...

  • New algorithm (EUCLIDEAN ALGORITHM which is more efficient)
  • Fix an error about the printing of gcd because the function returns the gcd value and it needs to be stored in a variable before printing the value

Copy link

@AvinashYerra AvinashYerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the case where y>x ;

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.

2 participants