Skip to content

omarkamola/GPA-Calculator-Python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

GPA-Calculator-Python-

This is a simple GPA Calculator built in Python that allows users to calculate their GPA based on either numeric grades (0โ€“100) or letter grades (A, B+, C-, etc.).
The program supports variable credit hours per course and uses a standard GPA conversion scale.


๐Ÿง  Features

  • Accepts either numeric or letter grades for each course.
  • Supports custom credit hours per course.
  • Automatically converts grades to GPA points using a defined scale.
  • Handles invalid inputs gracefully.
  • Displays the final GPA rounded to two decimal places.

๐Ÿ“š GPA Scale (Used by the Program)

Grade Points
A 4.0
Aโˆ’ 3.7
B+ 3.3
B 3.0
Bโˆ’ 2.7
C+ 2.3
C 2.0
Cโˆ’ 1.7
D+ 1.3
D 1.0
F 0.0

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • Functions, conditionals, and loops
  • Input handling and validation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages