Skip to content

A simple CLI tool to calculate GPA and CGPA based on numeric grades and Course Credit units.

Notifications You must be signed in to change notification settings

awortuibenem/cgpa-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A simple CLI tool to calculate GPA and CGPA based on numeric grades and Course Credit units.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages