Algorithms_in_C  1.0.0
Set of algorithms implemented in C.
sol.c File Reference

Problem 5 solution More...

#include <stdio.h>
Include dependency graph for sol.c:

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.
 

Detailed Description

Problem 5 solution