Question: Write code in C++ follow all the steps provide below The example for the output The following three files store students' ids, names, and scores.



![structure in Wumber of students Three dynamic arrays c+16)198927AlsceBe [1] [2] [15]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3e449ed0c6_72166f3e44988541.jpg)



![182016 Eunice 80 [1] "Java" 102893 John 91 [2] Python 21) 102222](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3e44c9d449_72466f3e44c31ae0.jpg)
The following three files store students' ids, names, and scores. The first line of each file is the course name and the number of students. Read the three files and create the array structure in Wumber of students Three dynamic arrays c+16)198927AlsceBe [1] [2] [15] 167889 sue 93 \begin{tabular}{|c|c|c|c|c|} \hline 108927 & 101981 & 102888 & & 107889 \\ Alice & Paul & Cindy & Sue \\ 80 & 96 & 86 & & 93 \\ \hline \end{tabular} 10 Java 13 182016 Eunice 80 [1] "Java" 102893 John 91 [2] Python 21) 102222 Adaline 7 ? 109003 Bebbi 96 \begin{tabular}{|c|c|c|c|c|} \hline[0] & {[1]} & {[2]} & {[20]} \\ \hline \begin{tabular}{c|c|c|c|c|} 10222 & 101234 & 105487 \\ Adaline \\ 77 \end{tabular} & Lambert75 & Eunice66 & L.. & 109003Bobbi96 \\ \hline \end{tabular} Requirements 1.You should use struct Course and class Student 2. You should create each array dynamically (I will test your code with different input files). 3. You should create a structure using a function. 4. Each menu should be implemented as a function. 5. Make your main code as neat and readable as possible. 6. Do not use global variables. Use reference and pointers appropriately. 7. Documentation is needed (see the rubric). Sample output There will be always three courses. Enterthenumberofcourses:3.Enterfilename1:cpp.txtEnterfilename2:java.txtEnterfilename3:python.txt Make a structure in the previous slide 1. Show all course 1 ists 2. List of students who take all courses 3. List of students who take two courses 4. Print out top three scores for each course select: Gitar the nuber of courses : 3 Enter filenase 1 cpp, txt Fater filenume 2 Java. txt Enter filenane 3 : pytbon. txt 1. Shor all course lists: 2. List of students who take all courses 3. List of students the take two courses 4. Pribt out top three scores for ench course T. select i 1 1. Show all course lists 2. List of students who take all courses 3. List of students who take two courses 4. Print out top three scores for each course select : There are 4 students who take all 3 courses Menu 2 100892102893106627108992RuthJohnAmyHaileyC++(89)C++(88)C++(83)C++(71)Java(91)Java(91)Java(79)Java(88)Python(83)Python(90)Python(82)Python(74) There are 3 students who take C++ and Java Menu 3 101981104244100111PaulSandyOliverC++(96)C++(69)C++(82)Java(83)Java(68)Java(78) There are 2 students who take C++ and Python 102930 Brian Ct+(77) Python (96) 109281 Jake C++(88) Python (90) There are 1 students who take Java and Python 107890 Rob Java (72) Python (78) [ Java Top Three Scnroe ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
