Simple command line tool to convert between Fahrenheit and Celsius temperatures. Learning Rust, this program is my take on the suggestion at the end of chapter three.
First, compile the program with cargo build --release
.
Then, the executable can be found in ./target/release
.
To get the value of 82 degrees Fahrenheit in Celsius:
./fahrenheit_celsius_converter f 82
To get the value of 14 degrees Celsius in Fahrenheit:
./fahrenheit_celsius_converter c 14