I am struggling to derive answers for this problem.

I need detail explanation. I understand the problem has to do with manipulating and trying values to derive what is n but don't understand :D :rolleyes:

Considering the following nested loops,

for(j = 5; j<=n; j++)

{

j =n;

while(k > 2)

{

<body>

}

}

a. what is the number of iterations of the while loop (n>6)? show your work

b. what is the number of iterations of the while loop during the third iteration of the for loop? Show your work