Hi,
I changed your program using some of the concepts you were trying to use. Hopefully you can see how it works:
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
short T;
cin >> T;
cin.ignore();
string str[100];
for(int i=0; i<T; i++)
{
getline(cin, str[i]);
}
for (int i = 0; i < T; i++)
{
stringstream ss(str[i]);
string tmp;
vector<string> v;
while (ss >> tmp)
{
// Let's capitalize it before storing in the vector
if (!tmp.empty())
{
transform(begin(tmp), end(tmp), std::begin(tmp), ::tolower);
tmp[0] = toupper(tmp[0]);
}
v.push_back(tmp);
}
if (v.size() == 1)
{
cout << v[0] << endl;
}
else if (v.size() == 2)
{
cout << v[0][0] << ". " << v[1] << endl;
}
else
{
cout << v[0][0] << ". " << v[1][0] << ". " << v[2] << endl;
}
}
return 0;
}
Clickstream tracking tools collect data on customer activities at websites- true.
<h3>
what is the website?</h3>
- A website, often known as a website, is a collection of web pages and associated material that is published on at least one web server and given a shared domain name.
- The World Wide Web is the aggregate name for all publicly accessible websites.
- A company's internal website for its workers is an example of a private website that can only be viewed via a private network.
- Most websites focus on a single subject or objective, including news, education, business, entertainment, or social networking.
- The navigation of the website, which frequently begins with a home page, is aided by hyperlinks between web pages.
To learn more about website, refer to the following link:
brainly.com/question/9060926
#SPJ4
C- are only occasionally affected by the decisions made by other teams
explanation
idk