#grade #student #calculator

bin+lib easygradecalculator

easy grade calculator

3 releases

0.1.3 Apr 23, 2022
0.1.2 Apr 23, 2022
0.1.1 Apr 23, 2022

#902 in Math

MIT license

2.5MB
152 lines

Easy Average Grade Calculator

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.

Usage

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

lib.rs:

Easy Average Grade Calculator

This tool is a easy to use 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.

See a more complex grade calulcator for weighted grade calculation for college or high school students and teachers.

The tool is implemented in Rust.

Usage

The easy grade calulcator can either read the input grades from arguments or a text file:

easy-grade 3.5 4.5 2.5

Another way to use the easy-grade would be to create a txt file as the input grades. Create an input file grades.txt with the contents:

For example, you have the following grades: homework 3.5, quiz 4.5, Midterm 2.5, you can create a 'grades.txt' file as below:

3.5
4.5
2.5

The average for these grades can be calculcated as below:

cat ~/grades.txt | easy-grade

No runtime deps