Define class StudentRecord; maintain records in a vector. A StudentRecord consists of name of a student, grade as an int
Posted: Fri Jul 01, 2022 5:51 am
Define class StudentRecord; maintain records in a vector. AStudentRecord consists of name of a student, grade as an integervalue, roll number to refer to student ID. Add member functions toset and get the data. Program prompts for and fetches data, buildsvector of student records, sorts by name, calculates max and mingrades (no names, just max and min numbers), class average, printssummarizing data along with class roll and grades. Testprogram.