Skip to content

shubhamjrd4559-sudo/CodeAlpha_CGPA_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

CGPA Calculator (C++)

This project is developed as part of the CodeAlpha C++ Programming Internship.

๐Ÿ“Œ Project Description

The CGPA Calculator is a console-based C++ application that calculates the CGPA of a student based on the number of subjects, credit hours, and letter grades.

โœจ Features

  • Takes input for number of subjects
  • Accepts subject credits
  • Accepts letter grades (A, B, C, D, E, F)
  • Converts grades into grade points
  • Calculates and displays final CGPA

๐ŸŽ“ Grade to Grade Point Mapping

Grade Grade Point
A 10
B 9
C 8
D 7
E 6
F 0

๐Ÿ› ๏ธ Technologies Used

  • C++
  • Standard Template Library (STL)

โ–ถ๏ธ How to Run the Project

  1. Clone the repository or download the source code
  2. Open terminal in the project directory
  3. Compile the code using:
  4. Run the program:

๐Ÿ“ท Sample Output

Enter the number of subjects: 3
Enter credit for subject 1: 4
Enter grade(A/B/C/D/E/F) for subject 1: A
Enter credit for subject 2: 3
Enter grade(A/B/C/D/E/F) for subject 2: B
Enter credit for subject 3: 3
Enter grade(A/B/C/D/E/F) for subject 3: C
Your CGPA is: 9.1

About

CGPA Calculator project in C++ for CodeAlpha Internship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages