A simple command-line interface (CLI) tool to calculate GPA and CGPA based on numeric grades and Course Credit Units.
- Calculates GPA based on numeric grades for a set of subjects.
- Calculates CGPA by averaging the GPA of two semesters.
- Supports numeric grade inputs (0-100) which are converted to grade points.
- Easy to use with prompts for user input.
-
Clone the repository:
git clone https://github.com/awortuibenem/cgpa-calculator.git cd cgpa-calculator
-
Run the script:
python main.py
Grade | Score Range | Grade Points |
---|---|---|
A | 70-100 | 5 |
B | 60-69 | 4 |
C | 50-59 | 3 |
D | 45-49 | 2 |
E | 40-44 | 1 |
F | 0-39 | 0 |
This project is licensed under the MIT License. See the LICENSE file for details.