It is the demonstration part that calls for the loop. Notice that it doesn't ask for the ability to accept user input. It only asks for the display of the falling distance at falling times of 1 sec to 10 sec, inclusive. So, you should be able to answer your question: "does this part of the question mean it should only accept numbers 1-10." What do you think?
Write a method named FallingDistance that accepts an object's falling time (in seconds) as an argument. The method should return the distance, in meters, that the object has fallen during the time interval. Demonstrate the method by calling it in a loop that passes the values 1 through 10 as arguments, and displays the return value.