Crates.io | easygradecalculator |
lib.rs | easygradecalculator |
version | 0.1.3 |
source | src |
created_at | 2022-04-23 05:35:40.242047 |
updated_at | 2022-04-23 08:08:31.234039 |
description | easy grade calculator |
homepage | https://www.thebestdegree.com |
repository | |
max_upload_size | |
id | 572523 |
size | 2,830,983 |
This tool is a easy average grade average calulcator written in Rust. It takes a list of graded to calculated the average and can be used as a library by other applications.
Thebestdegree.com provided a more complex grade calulcator for weighted grade calculation for college or high school students and teachers.
These tools are all implemented in Rust.
The easy grade calulcator can either read the input grades from arguments or a text file as shown below:
easy-grade 4.5 3.5
Another way to use the tool would be to create a txt file as the input grades. Create a file grades.txt
with the contents:
4.5
3.5
2.5
The average for these grades can be calculcated as below:
cat ~/grades.txt | easy-grade