// Code derived from Stroustrup's PPP2 book// § 3.1 Input// -beginning on p 60#include<iostream>#include<string>usingstd::cin;usingstd::cout;usingstd::string;// read and write a first nameintmain(){cout<<"Please enter your first name (followed by 'enter'):\n";stringfirst_name;// first_name is a variable of type stringcin>>first_name;// read characters into first_namecout<<"Hello, "<<first_name<<"!\n";}