For Loop Exercise 2


#1

The instructions say to finish the For loop by adding given code:
for (int waterLevel = 0; waterLevel < 7; waterLevel++) {}

But there are no for loops in the code with missing conditions. There are only two four loops and they are
for (String city: hostCities.keySet())

What exactly am I supposed to do here? Those for loops are already working and do not need to be fixed. Perhaps I am supposed to add another For loop? Thanks.


#2

This is the default code for that exercise:

public class For {
	public static void main(String[] args) {

		for () {

			System.out.println("The pool's water level is at " + waterLevel + " feet.");

		}
		
	}

}