You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function returns the greatest common divisor of the given numbers
Syntax:
gcd(n,x)
Argument
Description
int n
First number
int x
The other number
Returns:int
Description:
The greatest common divisor of two numbers is the largest positive integer that divides each of the integers. For example: What is the greatest common divisor of 72 and 24?