
Patrick B. answered 04/20/21
Math and computer tutor/teacher
using namespace std;
#include <iostream>
#include <vector>
Go()
{
vector<char> vecChar;
char chChar='?';
cout << " Input :>";
while (chChar != '.')
{
cin >> chChar;
vecChar.push_back(chChar);
}
for (int iLoop=0; iLoop<vecChar.size(); iLoop++)
{
cout << vecChar[iLoop];
}
}
int main()
{
Go();
}