// Code derived from Stroustrup's PPP2 book// § 3.3 Input and type// -beginning on p 64#include<iostream>#include<string>usingstd::cin;usingstd::cout;usingstd::string;// read name and age (2nd version)intmain(){cout<<"Please enter your first name and age\n";stringfirst_name="???";// string variable// ("???” means “don’t know the name”)intage=-1;// integer variable (-1 means “don’t know the age”)cin>>first_name>>age;// read a string followed by an integercout<<"Hello, "<<first_name<<" (age "<<age<<")\n";}