// Code derived from Stroustrup's PPP2 book// § 3.4 Operations and operators// -beginning on p 68#include<iostream>#include<string>usingstd::cin;usingstd::cout;usingstd::string;// read first and second nameintmain(){cout<<"Please enter your first and second names\n";stringfirst;stringsecond;cin>>first>>second;// read two stringsstringname=first+' '+second;// concatenate stringscout<<"Hello, "<<name<<'\n';}