Write a c++ loop to read n characters from the keyboard and store them in the vector v. code example
Example: Write a c++ loop to read n characters from the keyboard and store them in the vector v.
for(int i = 0; i < n; i++)
{
cin >> ch;
v.push_back(ch);
}