Skip to content

This C++ program calculates the grade of a student based on the marks obtained in 5 subjects. It prompts the user to enter the marks for each subject and then calculates the average.

Notifications You must be signed in to change notification settings

Mubeen-Channa/Student-Grade-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Student Grade Calculator in C++

This C++ program calculates the grade of a student based on the marks obtained in 5 subjects. It prompts the user to enter the marks for each subject and then calculates the average. Based on the average, it assigns a grade according to the following criteria:

  • 91-100: A+
  • 81-90: A
  • 71-80: A-
  • 61-70: B+
  • 51-60: B
  • 41-50: B-
  • 33-40: C
  • 21-32: Fail
  • Below 21: Invalid

Usage

  1. Run the program.
  2. Enter the marks obtained in 5 subjects when prompted.
  3. The program will calculate the average and display the corresponding grade.

Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests to suggest improvements or add new features.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to suggest any improvements or contribute to the project!

About

This C++ program calculates the grade of a student based on the marks obtained in 5 subjects. It prompts the user to enter the marks for each subject and then calculates the average.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages