Question: In this assignment, write a program using class data structure to create student records. Write a header file (h) to define class structure, a function
In this assignment, write a program using class data structure to create student records. Write a header file (h) to define class structure, a function file (cpp) to define all the functions of the class, and a main file (cpp) to use the class and its functions. The class functions should include set_records() to create new records, print_record() to print the student records, find_record() to find a record by name. The class private data should include name, gender, math score, programming score, and a vector to contain all of those data as a single record for each student.


Enter new student records (name gender math_score programming score) Mary F Jane F Jack M 96 97 96 98 97 97 2 Select the following options 1. Print all student records 2. Search student record by name 3. quit Printing student records Gender Name Mary Jane Jack math 96 97 96 prog 98 97 97 Select the following options 1. Print all student records 2. Search student record by name 3. quit 2 Enter student name for searching Jane Gender math 97 Name prog 97 Jane Select the following sub-options 1. Edit math score 2. Edit prog score 1 Enter the new score: 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
