likewise we do in array
for (.....)
cin>>a[i];
how we can do this using vectors. i declared a vector of integers
vector<int> v;
now i need to take inputs from console and add append those in vector.i am using vector because i donot know the limit.