Project: Student Score Manager

Put your knowledge of functions, arrays, vectors, and structs to use by building a working app.

Project

Create a student score tracker that allows the user to enter the names and scores of multiple students. The program should then display each student's score along with a letter grade and calculate and display the class average.

Project requirements

  • Ask the user how many students they want to enter.

  • For each student:

    • Ask for their name.

    • Ask for their score (as an integer).

  • Store each student in a Student struct and add it to a vector.

  • Use an array to define grade boundaries:

    • A: 90+

    • B: 80–89

    • C: 70–79

    • D: 60–69

    • F: below 60

  • Write a function to calculate and return the average score of all students.

  • Write a function to return the letter grade based on the score and grade boundaries.

  • Display each student’s name, score, and letter grade.

  • Display the overall class average at the end.

Get hands-on with 1400+ tech skills courses.