// Code derived from Stroustrup's PPP2 book// § 4.4.2.3 for-statements// -and beginning on p 112#include<iostream>usingstd::cout;// return the square of xintsquare(intx){returnx*x;}intmain(){for(inti=0;i<100;++i){// for i in the [0:100) rangecout<<i<<'\t'<<square(i)<<'\n';++i;// what's going on here? It smells like an error!}}