1. Find the errors in the following code:
// This code contains ERRORS!
// Print the numbers 1 through 10.
for (int count = 1, count <=>
{
System.out.println(count);
count++;
}
2. True or False: In a nested loop, the inner loop goes through all of its iterations for every iteration of the outer loop.
3. True or False: To calculate the total number of iterations of a nested loop, add the number of iterations of all the loops.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here