I don’t know but i hope someone gives u the answer
A looping is a set of instructions which is repeated a certain number of times until a condition is met. hlo dai k xa halkhabar
Answer:
False.
Explanation:
The description provided matches better with Software performance testing, and shouldn't be confused with a benchmark.
In computing, a benchmark is a tool or software designed to measure the average performance of another program, by running several tests and trials against it.
A performance testing is designed to measure the performance and responsiveness of a computer system (not a program) under a heavy workload.
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