Answer:
Hence the correct option is A that is "34.2 31.8 33.5 33.3".
Step-by-step explanation:
Program:-
#include <iostream>
#include<vector>
using namespace std;
int main()
{
int count =0;
vector<double> pressures;
pressures.push_back(32.4);
pressures.push_back(33.5);
pressures.insert(pressures.begin(), 34.2);
int index = 2;
pressures.insert(pressures.begin() + index, 31.8);
pressures.push_back(33.3);
index = 1;
pressures.erase(pressures.begin() + index);
for (auto it = pressures.begin(); it != pressures.end(); ++it)
cout << ' ' << *it;
return 0;
}