#include<vector>
#include<iostream.h>
using namespace std;
int main()
{
vector<int> v;
int h; // Illustrate pus_back( ) function
for(int i=0; i<5; i++)
{
cin>>h;
v.push_back(h);
}
cout<<"\n";
cout<,"Size of the Vector is "<<v.size( );
cout<<"\n;
for(i=0; i<v.size(); i++)
cout<<v[i]<<" ";
cout<<"\n";
// illustrate pop_back( ) function which removes the last element in the vector
v.pop_back( );
cout<<"Size of the Vector after removing the last element is : :;
cout<<v.size();
cout<<"\n";
cout<<"current size of the vector is: ";
cout<<v.size( )'
cout<<"\n";
cout<<"Display whether the vector is empty or not: ";
cout<<v.empty( );
}