// Code derived from Stroustrup's PPP2 book// § 4.4 Statements// -beginning on p 101#include<iostream>usingstd::cout;intmain(){intx=4;inty=7;if(x==5);// false case (does nothing){y=3;// unintentional error}cout<<x<<'\n'// output above variable values to console...<<y<<'\n';//---cout<<'\n';// here simply to separate the console outputsx=5;// set x to 5 nowy=7;// reset y to 7if(x==5);// true case (still does nothing){y=3;// accidentally "correct"}cout<<x<<'\n'// output above variable values to console...<<y<<'\n';}