GCD of two Numbers (Problem 24) - InfyTQ Solution in Python
GCD of two Numbers (Problem 24)
InfyTQ Solution in Python
PROBLEM STATEMENT
Given two positive integers. Write a python function to return the greatest common divisor of the given numbers.
Sample Input | Expected Output |
---|---|
14 and 35 | 7 |
800 and 2800 | 400 |
SOLUTION
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Newer Posts
Older Posts
Older Posts
Comments