Project: Student Score Manager

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.

Project: Student Score Manager

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.

#include <iostream>
#include <vector>
#include <string>
using namespace std;

// Define your struct here

// Add your funtions here


int main() {
    
    // Your code goes here
    
    return 0;
}