Steady sounds like the best answer but that’s tough
Answer:
ISO 27002
Explanation:
The acronym ISO stand for The International Organization for Standardization. its a non governmental body that is responsible for setting standards guide internationally.
while NIST stand for National Institute of Standards and technology and it is also a body that is responsible for setting up standard guide in the US..
ISO 27002 is a standard code for implementing information security management systems. while ISO 27017 is for cloud security. NIST 800-12 is a general security and NIST 800-14 is for policy development. thus option A is correct.
Note :
All code preceded by ISO is from The International Organization for Standardization and are international standard. while those preceded by NIST is from National Institute of Standards and technology and are not international standard.
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