This C++ program provides a minimalistic and efficient CGPA (Cumulative Grade Point Average) calculator. Users input the total number of subjects, marks (out of 100), and subject credits. The program then calculates the CGPA based on a straightforward grading system.
- User-Friendly: Simple and easy-to-use interface for inputting subject details.
- Efficient Calculation: Minimalistic code for efficient CGPA computation.
- Clear Display: Presents a clear overview of total credits and the calculated CGPA.
-
Clone the Repository:
git clone https://github.com/HackStyx/Basic-CGPA-Calculator.git cd cgpa-calculator`
-
Compile and Run:
g++ cgpa_calculator.cpp -o cgpa_calculator ./cgpa_calculator
-
Input Details:
- Enter the total number of subjects.
- Input marks (out of 100) and credits for each subject.
-
View Results:
- The program will display the total credits and calculated CGPA.
- Input the total number of subjects.
- Enter marks (out of 100) and credits for each subject.
- Obtain the calculated CGPA and total credits.
- Handle edge cases more carefully.
- Enhance code documentation and comments.
- Implement error handling for invalid inputs.
- Implement a graphical user interface (GUI).
- Add support for different grading systems.
Feel free to modify and contribute to enhance the functionality of this minimal CGPA calculator. Submit pull requests or open issues for suggestions or improvements.
Happy coding! ๐