int hcf(int, int);
int h, i, a, b;
printf(" Enter values of two numbers: ");
scanf("%d %d", &a, &b);
h = hcf (a, b);
printf(" HCF of numbers is: %d", h);
int hcf (int a, int b)
if (a%b == 0)
return hcf(b, a%b);
Upload your original content. We will publish your material under your name on W3Professors after review.
Without your feedback, such words as Improvement, Achievement and Success have no meaning for us.
Designed and Maintained by Kanwer Technologies