1: Perform dry run and identify how many times this code will perform iterations.
2: Write complexity for how many times loop variable initialized, condition compared and increment
3: explain why you assigned this complexity:
for (i=n; i < 0;=""> >
{
i = i + 4;
}
Complexity:
Explanation:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here