C program to print gcd of two numbers

C program to print gcd of two numbers

Output:

Enter two numbers to find GCD:
12 3
Hcf or GCD of 12 & 3 is 3

Implementation: