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

Input: Consider 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;
   
}

Output: 2


Input: Consider Input: int n,i;//????  n ???????
int f(int a,int min){      //??????f  ?????a n
if(a < min){     //?????a ??n
return 0;     //????0?   ???????????
}
int result = 1;       //???????  ???1
for(int i = min;i<a;i++){   //for?? ? ??????a
if(a % i == 0){   //?a???i???
result += f(a/i,i);  //???? ??result
}
}
return result; //??????
}
      int main(){  //?????
    	  cin>>n;//??????
    	  int a[n];
    	  for(i=0;i<n;i++){   //????
    		  cin>>a[i];
    	  }
    	  for(i=0;i<n;i++){
    	  cout<<f(a[i],2)<<endl;  //??????????  ????
    	  }
    	  return 0;
      }

Output: 3


Input: Consider Input: int sum=1;
void f(int i,int j)
{
	int k;
	if(i==1)
	    sum++;
	else
	{
		for(k=j;k<=i;k++)
		{
			if(i%k==0)
				f(i/k,k);
		}
	} 
}
int main(void)
{
	int i,j,k;
	int n;
	int a;
	scanf("%d",&n);
	while(n--)
	{
		sum=1;
		scanf("%d",&a);
		for(i=2;i*i<=a;i++)
		{
			if(a%i==0)
			{
				f(a/i,i);
			}
		}
		printf("%d\n",sum);
	}
	return 0;
}


Output: 2