Fork, Commit, Merge - Easy Issue (Rust)
nikohoffren opened this issue · comments
Fork, Commit, Merge - Easy Issue (Rust)
Create a Rust Program to Calculate Fibonacci Numbers
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
How to get started
Navigate to the tasks/rust/easy
directory from the root of your project.
Then open a file called fibonacci.rs
and start implementing your solution!
Description
The goal of this task is to create a simple Rust program that calculates Fibonacci numbers. Fibonacci numbers are a series of numbers where each number is the sum of the two preceding ones. The sequence starts with 0 and 1.
Your program should take an input n and calculate the n-th Fibonacci number.
How to run
Make sure that you are in correct directory:
cd tasks/rust/easy
Compile the program:
rustc fibonacci.rs
Run the compiled program:
./fibonacci
If the program works as requested in the task, you are ready to make a pull request!
To work with this issue, you need to have Rust installed to your local machine.
Check out README.md for more instructions of installing Rust and how to make a pull request.
Feel free to ask any questions here if you have some problems!