In this program, you will take two numbers from the user and finding the GCD of two numbers.
GCD is also called HCF (Highest Common Factor).
For example, the GCD of two numbers, 8 and 12 are 4 because factors for 8 are 1,2,4,8 and factor for 12 are 1,2,3,4,6,12, largest command factor is 4. hence GCD of 8 and 12 is 4.
printf("enter two number:");
printf("\n gcd of two number is:%d",gcd);