mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
535 B
24 lines
535 B
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) |
|
); |
|
}
|
|
|