This task is to find the number of 'For' loops present in the given cpp program.

Example Input: int main()
{
int fj(int m,int min);
int t,i,a[100];
cin>>t;
for(i=1;i<=t;i++)
{

cin>>a[i];
cout<<fj(a[i],2)<<endl;
}

return 0;
}
int fj(int m,int min)
{
int counter=1;
int i;
if(m<min)
return 0;
for(i=min;i<m;i++)
if(m%i==0)
{
counter=fj(m/i,i)+counter;
}
return counter;

}
Example Output: 2

Example Input: int number=0;
int main()
{
void f(int first,int m);
int n,i,num;
cin>>n;
for(i=0;i<n;i++)
{
cin>>num;
f(2,num);
cout<<number/2<<endl;
number=0;
}
return 0;
}
void f(int first,int m)
{
int i;
for(i=first;i<=m;i++)
{

if(m%i==0)
{
m=m/i;
f(i,m);
if(m!=1)
m=m*i;

}
}
if(m==1)
number+=1;
}

Example Output: 2

Example Input: int yinshu(int be,int by)
{
int i,sum=0;//cout<<be<<' '<<by<<endl;
for(i=by;i*i<=be;i++)
{
if(be%i==0){sum+=1+yinshu(be/i,i);}
}
return sum;
}
int main()
{
int n,i,j,num,sign
;
cin>>n;
for(i=0;i<n;i++)
{
cin>>num;for(j=num;j>1;j--)if(num%j==0)sign=j;
cout<<yinshu(num,sign)+1<<endl;
}
getchar();getchar();
return 0;
}

Example Output:
3