1. Write a for statement that displays the even numbers 2, 4, 6, 8, and 10. Each number should appear on a separate line. Declare all the variables you use.
2. What output is produced by the following code?
for (int count = 0; count <=>
for (int count2 = 0; count2 <>
System.out.println(count2);
3. Write a Java loop that will display the phrase One more time four times. Also give any declarations or initializing statements that are needed.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here