Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 798 Bytes

File metadata and controls

33 lines (26 loc) · 798 Bytes

CGPA Calculator in C++

This program calculates a student's Cumulative Grade Point Average (CGPA) based on the grades and credits of the courses taken.

Features

  • Input the number of courses taken.
  • Enter the credits and grades for each course.
  • Calculate and display the GPA for the semester.
  • Calculate and display the CGPA.

How to Use

  1. Clone the repository:
    git clone https://github.com/prathu013/cgpa-calculator.git
  2. Navigate to the project directory:
    cd cgpa-calculator
  3. Compile the program:
    g++ -o cgpa_calculator cgpa_calculator.cpp
  4. Run the program:
    ./cgpa_calculator

Example

image