A simple program for calculating grades for your college courses, now in the Rust edition. Use it to keep track of your course grades throughout the semester and track your progress.
If your system can use Rust/Cargo, it can run this grade_calculator
. This was tested using the current version of Rust available through apt
on Debian (1.63
) and Homebrew on MacOS (1.68
).
Debian
$ apt install rust-all
MacOS
$ brew install rust
This program relies on the text_io
and colored
crates on crates.io
.
Open a terminal window inside the root directory of this repository. You should see the files Cargo.toml
, Cargo.lock
, and the src
subdirectory. Run the following command:
$ cargo build --release
The binary will be present in the target/release
subdirectory as grade_calculator
on MacOS and Linux or grade_calculator.exe
on Windows.
Either move or link to the binary at the path mentioned above. At a terminal prompt, type the following:
Linux/MacOS
$ ./grade_calculator
Windows
>grade_calculator.exe
To view this crate's documentation, open a terminal window at the path mentioned above and type the following:
$ cargo doc --open
The documentation should open up in your default web browser.