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 LAB: Who are the best programmers in the course?
Consider the below sample run of the program that you are going create.
Enter student s ID number:
Enter student s competition grade:
Enter student s ID number:
Enter student s competition grade:
Enter student s ID number:
Enter student s competition grade:
Enter student s ID number:
Enter student s competition grade:
Enter student s ID number:
Enter student s competition grade:
CLASS ROSTER
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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 ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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:
Enter the student's competition grade:
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 ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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:
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 ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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:
Enter a new competition grade for student:
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 ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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:
ABOVE
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
Student ID number: competition grade:
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 competitiongrade information for the CSCE 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 and the student's competitiongrade 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 ;
aincpp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
