Palmtree 'learning Rust' assignments
To participate, clone/fork this repository and branch it. Create a folder named with your name under the specific week and create a pull request for your branch when you have completed the assignments.
- Install the Rust SDK: https://www.rust-lang.org/en-US/
- Write, compile and run a 'Hello, World!' program
- Write a program
fib(n)
that takes an input integern
and returns the n'th fibonacci number. E.g., the 7th fibonacci number is 13 (1, 1, 2, 3, 5, 8, 13), sofib(7)
should return 13. For bonus points experiment with different implementations of the algorithm (recursive, iterative, etc.) Fibonacci numbers: https://en.wikipedia.org/wiki/Fibonacci_number
- Write a program for the Guessing Game https://doc.rust-lang.org/book/guessing-game.html