GCD
Calculate and return GCD of two given numbers x and y. Numbers are within range of Integer.
Input format :
Output format :
Sample Input 1:
Sample Output 1:
Sample Input 2:
Sample Output 2:
2
x and y (separated by space)
GCD of x and y
20
5
5
96
14
2
Comments
Post a Comment
Please give us your valuable feedback