Horje
highest common factor algorithm in c Code Example
highest common factor algorithm in c
// C program to find GCD of two numbers
#include <stdio.h>
 
// Recursive function to return gcd of a and b
int gcd(int a, int b)
{
    if (b == 0)
        return a;
    return gcd(b, a % b);
}
 
// Driver program to test above function
int main()
{
    int a = 98, b = 56;
    printf("GCD of %d and %d is %d ", a, b, gcd(a, b));
    return 0;
}




C

Related
why do you jerk while falling aslee Code Example why do you jerk while falling aslee Code Example
fgets em c Code Example fgets em c Code Example
how to arrange a 2d array based on  string length in c Code Example how to arrange a 2d array based on string length in c Code Example
Sort linked list C Code Example Sort linked list C Code Example
ipyplot Code Example ipyplot Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11