Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CodeAlpha CGPA Calculator

A professional C++ console-based CGPA Calculator developed as part of the CodeAlpha C++ Programming Internship.

Features

  • Accepts the number of courses
  • Accepts course names
  • Accepts credit hours for each course
  • Supports grades: A, B+, B, C+, C, D, F
  • Calculates total credit hours
  • Calculates total quality points
  • Calculates GPA/CGPA
  • Provides performance feedback
  • Validates invalid course numbers
  • Validates invalid credit hours
  • Validates invalid grades
  • Supports lowercase grade input

Grade Scale

Grade Grade Point
A 4.0
B+ 3.5
B 3.0
C+ 2.5
C 2.0
D 1.0
F 0.0

GPA Calculation

GPA is calculated using:

GPA = Total Quality Points / Total Credit Hours

Where:

Quality Points = Grade Point × Credit Hours

Technologies Used

  • C++
  • Object-Oriented/Structured Programming Concepts
  • Standard C++ Library

How to Run

Compile

g++ main.cpp -o cgpa

About

Professional C++ CGPA Calculator developed for the CodeAlpha C++ Programming Internship.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages