// Code derived from Stroustrup's PPP2 book// § 3.8 Types and objects// -beginning on p 77#include<iostream>#include<string>usingstd::cout;usingstd::string;intmain(){inta=7;intb=9;charc='a';doublex=1.2;strings1="Hello, World!";strings2="1.2";cout<<a<<'\n'// output above variable values to console...<<b<<'\n'//<<c<<'\n'//<<x<<'\n'//<<s1<<'\n'//<<s2<<'\n';}