// Code derived from Stroustrup's PPP2 book// § 3.3 Input and type// -beginning on p 65#include<iostream>#include<string>usingstd::cin;usingstd::cout;usingstd::string;intmain(){cout<<"Please enter your first and second names\n";stringfirst;stringsecond;cin>>first>>second;// read two stringscout<<"Hello, "<<first<<" "<<second<<'\n';}