Problem Write a C++ program to manage the marks of students. The marks must be sorted from the lowest
Problem Write a C++ program to manage the marks of students. The marks must be sorted from the lowest to highest mark. After being sorted, enter a new name and mark from the keyboard and write code to add the name and mark in the correct position in the list (without sorting the array again). Instruction 1. Declare two parallel arrays with space for 15 names and marks respectively. Assign 10 names to the first array at declaration time. Write code to populate the array with the marks of the 10 students with random values in the range from 0 to 100. 2. Write a function displayList() to display the names and marks of the students with a heading, subheadings
Expert Answer
Below is the C++ program that fulfills your requirements. I’ve included comments to explain each
OR