Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1 KB

README.md

File metadata and controls

39 lines (28 loc) · 1 KB

CGPA Calculator

A simple command-line interface (CLI) tool to calculate GPA and CGPA based on numeric grades and Course Credit Units.

Features

  • 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.

Usage

  1. Clone the repository:

    git clone https://github.com/awortuibenem/cgpa-calculator.git
    cd cgpa-calculator
  2. Run the script:

    python main.py

Grading Scale Used

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

License

This project is licensed under the MIT License. See the LICENSE file for details.