Question: Implement a simple C + + program for managing students in a programming competition using classes. You need to develop the following files: Student class:

Implement a simple C++ program for managing students in a programming competition using
classes. You need to develop the following files:
Student class: To represent each student with a name and competition grade.
Competition class. To manage the list of students (add, remove, update, display):
A menu-driven interface to interact with the user
Organize the code into the following files:
student.h (Header file)
student.cpp (Source file)
main.cpp (Driver program for the menu)
Tips:
Student Class:
Represents a student with a name and a grade.
Includes getter and setter methods for accessing and modifying these values.
Competition Class:
Manages a collection of students using a std: vector:
Provides functions to add, remove, update, display students, and output the class roster.
Menu:
A simple menu-driven interface in main cpp allows the user to interact with the program.
Options include adding, removing, updating student grades and displaying the roster or
students above a certain grade.
Sample Output:
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r- Output students above a competition grade
0- Output class roster
q - Quit
Choose an option: a
Enter student name: Bakhita
Enter student grade: 89
Student Bakhita added with grade 89.
PROGRAMMING COMPETIIION MENU
Choose an option: o
Class roster:
Bakhita -89
Implement a simple C++ program for managing students in a programming competition using
classes. You need to develop the following files:
Student class: To represent each student with a name and competition grade.
Competition class To manage the list of students (add, remove, update, display),
A menu-driven interface to interact with the user
Organize the code into the following files:
student.h (Header file)
student.cpp (Source file)
main.cpp (Driver program for the menu)
Tips:
Student Class:
Represents a student with a name and a grade
Includes getter and setter methods for accessing and modifying these values.
Competition Class:
Manages a collection of students using a std vector.
Provides functions to add remove, update display students, and output the class roster.
Menu:
A simple menu-driven interface in main cpp allows the user to interact with the program.
Options include adding, removing, updating student grades, and displaying the roster or
students above a certain grade.
Implement a simple C + + program for managing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!