
#include <iostream>
#include <vector>
using namespace std;

int main() 
{
  vector<int> num {1, 2, 3, 4, 5};

  cout << "Initial Vector: ";

  for (const int& i : num) 
  {
    cout << i << "  ";
  }
  cout << "\n";
  
  // add the integers 6 and 7 to the vector
  num.push_back(88);    // Add (= push) at the back of the array
  num.push_back(99);

  cout << "Updated Vector: ";

  for (const int& i : num) 
  {
    cout << i << "  ";
  }
  cout << "\n";

  return 0;
}
