Hey guys, I need your help. I am working on homework and I am getting the error: undefined reference to 'letterGrades'(double)'. I do not know what it means and cannot find how to fix it.
The error occurs on this line of code:
grades[i] = letterGrades(testAverage[i]);
//Validate the test score
while(testScores[i][j] > 100 || testScores[i][j] <0)
{
cout << "Test score should be between 0 and 100!" << endl;
cout <<"Please enter test score: " << endl;
cin >> testScores[i][j];
}
}
}
//Get the average score of each student and call the letter grade.