numberlab 0.1.9

A collection of numerical algorithms
Documentation
1
2
3
4
5
6
7
8
9
10
use numberlab::formula::arithmetic::lcm;

fn main() {
    println!("LCM of 12 and 15 is {}", lcm(12, 15));
    println!("LCM of 12 and 18 is {}", lcm(12, 18));
    println!("LCM of 12 and 28 is {}", lcm(12, 28));
    println!("LCM of 12 and 35 is {}", lcm(12, 35));
    println!("LCM of 12 and 36 is {}", lcm(12, 36));
    println!("LCM of 29 and 97 is {}", lcm(29, 97));
}