Algorithms_in_C
1.0.0
Set of algorithms implemented in C.
|
#include <stdio.h>
Functions | |
unsigned long | gcd (unsigned long a, unsigned long b) |
Compute Greatest Common Divisor (GCD) of two numbers using Euclids algorithm. | |
unsigned long | lcm (unsigned long a, unsigned long b) |
Compute Least Common Multiple (LCM) of two numbers. | |
int | main (void) |
Main function. | |
Problem 5 solution