Write a program to find the GCD (Greatest Common Divisor) of two numbers using the Euclidean algorithm.
MediumProblem Statement
Write a program to find the GCD (Greatest Common Divisor) of two numbers using the Euclidean algorithm.
Sample Input
int a = 56, b = 98;
Sample Output
GCD = 14
Limits
Time: 2s · Memory: 256 MB