I'm trying to create a do-while statement, which is not my strongest suit. I'm trying to figure out how to get these two arrays to display properly but I'm not sure what I'm supposed to do. I don't have too much of the code down but I would love some pointers. Am I even heading in the right direction?
int main()
{
int points[5] = {62, 75, 100, 83, 85};
char grades[5] = {'D', 'C', 'A', 'B', 'B'};
int testScore = 0;
do
{
cout << "Enter a test score: ";
cin >> testScore;
while (testScore
system("pause");
return 0;
} //end of main function