find the total number of comparisons-
for(j=1;j<=n-1;j++)
{
for(k=j+1;k<=n+1;j++)
{
if(A[j]<A[k])
A[j]=A[j]+2;
}
}
so my question is do i need to consider for loop condition comparison too or not because in answer they did not consider the comparison of “for loop”