Posted by: prankster October 27, 2014
Login in to Rate this Post:
0
?
not sure about the error, I don't think it is related to your code, may be you have configured VS wrong.
Change inputScores to,
void inputScores(double scores[])
{
for(int i = 0; i < 5; i++)
{
cout << "Please enter the score from Judge #" << i + 1 << ": ";
cin >> scores[i];
}
}
for inputs.
Change inputScores to,
void inputScores(double scores[])
{
for(int i = 0; i < 5; i++)
{
cout << "Please enter the score from Judge #" << i + 1 << ": ";
cin >> scores[i];
}
}
for inputs.