Wipro Interview Question

write a program to calculate GCD of two numbers?