Question: using c++ Question 19 (14 points) (SLO: be able to call a function with arrays as parameters) write the function main that does the following:

using c++
Question 19 (14 points) (SLO: be able to call a function with arrays as parameters) write the function main that does the following: 1. Define the arrays idlist to hold the IDs of 20 students (integer values) , and scorelist to hold their test scores (double precision values). Read the 20 students' IDs and their test scores from the standard input into the arrays idlist and scorelist respectively. Each input line will have an ID and a corresponding score. 2. 3. Read the ID of a student and look for his/her test score (by calling function searchld) in part c). 4. lfthe ID is found in the list (the value returned is not-1), its test score is printed; otherwise the message "ID not found" is printed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
