Expand description

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

Structs

Functions