int i,j; for(i=1;i<5;i++) //outer loop { cout<<"Loop iteration:"<<i<<endl; // outer loop for(j=1;j<5;j++) //inner loop {cout<<"Inner loop iteration:"<<j<<endl;} //inner loop } return 0; }