In this chapter I have implemented a guessing game. Program makes the secret number and user must guess it.
Run: cargo run --bin guessing-game
There are the examples from rust book chapter 3. Also I have solved additional tasks:
- Convert temperature from F to C or vice versa. Run:
cargo run --bin convert-temp
- Get n-th Fibonacci number. Run:
cargo run --bin nth-fib
- Other examples:
loops
,variables
,branches
,functions
cargo run --bin strings
cargo run --bin area-calc
cargo run --bin enums
TODO: create examples