Question: write in c + + for main.cpp 6 . 2 5 LAB: Who are the best programmers in the course? Consider the below sample run

write in c++ for main.cpp 6.25 LAB: Who are the best programmers in the course?
Consider the below sample run of the program that you are going create.
Enter student 1's ID number:
84
Enter student 1's competition grade:
7
Enter student 2's ID number:
23
Enter student 2's competition grade:
4
Enter student 3's ID number:
4
Enter student 3's competition grade:
5
Enter student 4's ID number:
30
Enter student 4's competition grade:
2
Enter student 5's ID number:
66
Enter student 5's competition grade:
9
CLASS ROSTER
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 4
Student 3-- ID number: 4, competition grade: 5
Student 4-- ID number: 30, competition grade: 2
Student 5-- ID number: 66, competition grade: 9
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
o
CLASS ROSTER
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 4
Student 3-- ID number: 4, competition grade: 5
Student 4-- ID number: 30, competition grade: 2
Student 5-- ID number: 66, competition grade: 9
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
a
Enter a new student's ID number:
49
Enter the student's competition grade:
8
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
o
CLASS ROSTER
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 4
Student 3-- ID number: 4, competition grade: 5
Student 4-- ID number: 30, competition grade: 2
Student 5-- ID number: 66, competition grade: 9
Student 6-- ID number: 49, competition grade: 8
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
d
Enter an ID number:
4
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
o
CLASS ROSTER
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 4
Student 3-- ID number: 30, competition grade: 2
Student 4-- ID number: 66, competition grade: 9
Student 5-- ID number: 49, competition grade: 8
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
u
Enter an ID number:
23
Enter a new competition grade for student:
6
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
o
CLASS ROSTER
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 6
Student 3-- ID number: 30, competition grade: 2
Student 4-- ID number: 66, competition grade: 9
Student 5-- ID number: 49, competition grade: 8
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
r
Enter a competition grade:
5
ABOVE 5
Student 1-- ID number: 84, competition grade: 7
Student 2-- ID number: 23, competition grade: 6
Student 4-- ID number: 66, competition grade: 9
Student 5-- ID number: 49, competition grade: 8
PROGRAMMING COMPETITION MENU
a - Add a student
d - Remove a student
u - Update student competition grade
r - Output student above a competition grade
o - Output class roster
q - Quit
Choose an option:
q
As you can see above, this program stores class roster and programming competition-grade information for the CSCE 1336 course. The instructor of the course gives scores to students who elect to participate in a programming competition in order to select the top three students for a programming hackathon outside TAMIU.
As you can see above, your program should prompt the user to enter the information of five students: A student's ID number (0-99) and the student's competition-grade (1-9). You also need to create a menu of options for a user to modify the class roster (as you can see above). Each option is represented by a single character. After entering the students' information, the program starts by outputting t
main.cpp
#include
#include
using namespace std;
int main(){
/* Type your code here. */
return 0;
}ain.cpp

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!