for(int i=0;i<10;i++) //first loop
{
for(int j=0;j<5;j++) //second loop
{
//insert code
}
}Second loop is nested in the first loop.