Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Input:
int c = 1;

void fenjie(int a, int k)
{
if (a == 1)
{
c++;
return;
}
for (int i = k; i <= a; i++)
{
if (a % i == 0)
{
fenjie(a / i, i);
}
}
}

int main()
{
int n, a;
cin >> n;
while (n--)
{
c = 0;
cin >> a;
fenjie(a, 2);
cout << c << endl;
}
return 0;
}

Output:
1