Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 943 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 943 Bytes

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!