// Code derived from Stroustrup's PPP2 book// § 8.7.1 using declarations and using directives// -and beginning on p 296#include<iostream> // get the iostream library#include<string> // get the string libraryintmain(){std::stringname;std::cout<<"Please enter your first name\n";std::cin>>name;std::cout<<"Hello, "<<name<<'\n';}