Doing a practice exam...

12) Write three statements to print the first three elements of vector runTimes. Follow each with a newline. Ex: If runTime = {800, 775, 790, 805, 808}, print:
800 775 790
#include
#include
using namespace std;

int main() {
vector runTimes(5);

// Populate vector
runTimes.at(0) = 800;
runTimes.at(1) = 775;
runTimes.at(2) = 790;
runTimes.at(3) = 805;
runTimes.at(4) = 808;

/* Your solution goes here */

return 0;
}

13) Write a for loop to print all NUM_VALS elements of vector courseGrades, following each with a space (including the last). Print forwards, then backwards. End with newline. Ex: If courseGrades = {7, 9, 11, 10}, print:
7 9 11 10 10 11 9 7
Hint: Use two for loops. Second loop starts with i = NUM_VALS - 1.

#include
#include
using namespace std;

int main() {
co