- Ensure you have rust installed
rustc --version
a. If rust is not installed yet, follow instructions here 2. Run the following commands to compile and run the executable
rustc main.rs --edition 2021
./main
- 1 line of ASCII only input from stdin
- Outputs to stdout