Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.

void main()
{

int f(int ,int );
int n[100],sum,i,m;
scanf("%d",&m);
for(i=0;i<m;i++)
scanf("%d",&n[i]);
for(i=0;i<m;i++)
{
sum=f(1,n[i])+1;
printf("%d
",sum);
}

}

int f(int i,int n)
{
int j,k,sum=0;
for(j=i;j<(int)sqrt((double)n)+1;j++)
{

k=sum;
if(j==1)sum=0;
else
{
if(n%j==0&&n/j>=j)
{
sum=f(j,n/j)+1;
}
else sum=0;
}
sum=sum+k;

}
return(sum);
}
3