Answer:
Replace the comment
/*Your solution goes here */
with
for (i = courseGrades.size()-1; i >=0 ; i--) {
cout<<courseGrades.at(i)<<" ";
}
Explanation:
This line iterates through courseGrade in reverse order
for (i = courseGrades.size()-1; i >=0 ; i--) {
This prints each element of courseGrade in reverse followed by blank space
cout<<courseGrades.at(i)<<" ";
}
I added the full program as an attachment