public/subjects/lucas_number/main.rs

25 lines
535 B
Rust
Raw Permalink Normal View History

use lucas_number::lucas_number;
fn main() {
println!(
"The element in the position {} in Lucas Numbres is {}",
2,
lucas_number(2)
);
println!(
"The element in the position {} in Lucas Numbres is {}",
5,
lucas_number(5)
);
println!(
"The element in the position {} in Lucas Numbres is {}",
10,
lucas_number(10)
);
println!(
"The element in the position {} in Lucas Numbres is {}",
13,
lucas_number(13)
);
}