- <em>Take stock. Know what personal information you have in your files and on your computers.</em>
- <em>Scale down. Keep only what you need for your business.</em>
- <em>Lock it. Protect the information that you keep.</em>
- <em>Pitch it. Properly dispose of what you no longer need.</em>
- <em>plan </em><em>ahead</em>
<em>hope </em><em>it</em><em> helps</em>
Answer:
The function is as follows:
void readAndConvert(){
int n; string symbol,name;
cin>>n;
cin>>symbol;
cin.ignore();
getline (cin,name);
vector<string> trades;
string trade;
for (int inps = 0; inps < n; inps++){
getline (cin,trade);
trades.push_back(trade);}
cout<<name<<" ("<<symbol<<")"<<endl;
for (int itr = 0; itr < n; itr++){
string splittrade[3]; int k = 0;
for(int j=0;j<trades.at(itr).length();j++){
splittrade[k] += trades.at(itr)[j];
if(trades.at(itr)[j] == ' '){
k++; }}
cout<<splittrade[2]<<": "<<floor(stod(splittrade[1]) * stod(splittrade[0]))<<endl; }
}
Explanation:
See attachment for complete program where comments are used to explain each line
Answer:
update
Explanation:
a table of contents does not update itself automatically.
twitter
they will allow you to share comments about any topic you want