gradecalculators/lib.rs
1/*!
2 # 10converters Calculators
3
4 ## Background
5
6 Calculating your grade is a skill which need just a little math. But it's always convenience to have a
7 handy tool to do it for you.
8
9 [10converts](https://10converters.com) provides a comprehensive set of grade calculators for college or
10 high school students and teachers.
11
12 * [grade calculator](https://10converters.com/calculators/grade-calculator), which calculate your current grade of a course
13 * [final grade calculator](https://10converters.com/calculators/final-grade-calculator), let you know what you should get in final exam to meet your desired overall class grade
14 * [semester grade calculator](https://10converters.com/calculators/semester-grade-calculator), calculates your overall grade in semeter or bimester
15 * [high school GPA calculator](https://10converters.com/calculators/high-school-gpa-calculator), GPA calculator for high school students and teachers
16 * [college GPA calculator](https://10converters.com/calculators/college-gpa-calculator), GPA calculator for college students and teachers
17
18 These tools are all implemented in Rust.
19
20 ## Input
21
22 whatever the calculator you selected, a CSV file will always be the format of input.
23 ```
24 Quiz, 90, 20
25 Homework, 85, 20
26 Midterm, 92, 30
27 ```
28 That means you have your current grades of a specified course, e.g. History, and you want to know current
29 grade by far.
30
31 The first column is assessement name, but it's optional. you could write the CSV like:
32 ```
33 Quiz, 90, 20
34 85, 20
35 92,30
36 ```
37
38 The second column is grade, could be in percentage or in letters or in points:
39 ```
40 Quiz, A, 20
41 Homewor, A-, 20
42 Midterm, A+, 30
43 ```
44
45 ## Output
46
47 each calculator module has it's own output. In general, it's a result in string like:
48
49 ```
50 Your current grade is 91%(A)
51 ```
52
53 like that. for different calculator, the output string is slightly different.
54*/
55
56pub mod gradecalculator;
57pub mod parser;