We don't provide code. If you have any problems post your code and people will help you. But for now and your start point and for the last time:
for(int iIndex = 1; iIndex<=100; iIndex++)
{
cout << iIndex << endl;
if( iIndex%5==0 )
cout << endl;
}