This C++ program calculates the Grade Point Average (GPA) and Cumulative Grade Point Average (CGPA) for a semester based on user-input grades and credits for courses.
- Clone the repository or download the source code file.
- Compile the program using a C++ compiler.
- Run the executable.
- Enter the number of courses for the semester.
- Input the grade and credits for each course as prompted.
- The program will display the GPA and CGPA for the semester.
This program utilizes basic C++ functionalities to collect information about course grades and credits from the user. It then calculates the GPA and converts it into percentage scale for the semester. For a single semester, the GPA is considered as the CGPA, but provision for multiple semesters is made for potential future development.
- C++ Compiler