This is a simple program that converts Roman numbers to Arabic numbers and vice versa.
The first version of this program was written in CoffeeScript, but I decided to rewrite it in Rust to learn the language.
- Install Rust by following the instructions on the official website.
- Navigate into the project folder
rust
and run the following command:
Convert Roman to Arabic:
```sh
cargo run -- roman IV
Expected output is 4
.
Convert Arabic to Roman:
cargo run -- arabic 2024
Expected output is MMXXIV
.