I am doing a problem where I need to use arrays of string objects that hold 5 student names, an array of one character to hold the five students' letter grades and five arrays of doubles to hold each student's set of test scores and average score.
When I try to run it, I get these five errors.
error C2660: 'getTestScore' : function does not take 3 arguments : line 39
error C2660: 'getTestScore' : function does not take 3 arguments : line 45
error C2660: 'getTestScore' : function does not take 3 arguments : line 51
error C2660: 'getTestScore' : function does not take 3 arguments : line 57
error C2660: 'getTestScore' : function does not take 3 arguments : line 63
The errors are quite descriptive IMO: you declare function getTestScore() with one int parameter, and on line 39 you call it with 3 parameters: function does not take 3 arguments, just 1. The same applies to the other lines.
Sorry I'm still confused on what I need to change. Still new at both this could you happen to maybe explain a little more in detail on what I need to change?
Your function prototype on line 4 says the function will only have one parameter. On your function declaration on line 95 you specify and implement 3 parameters.