A good answer might be:

Gravity Program Skeleton

The program looks like this:

import java.io.*;

// User picks ending value for time, t.
// The program calculates and prints the distance the brick has fallen for each t.
//
class fallingBrick
{
  public static void main (String[] args ) throws IOException
  {
    final double G = 9.80665;   // constant of gravitational acceleration
    int    t, limit;            // time in seconds, and ending value of time
    double distance;            // the distance the brick has fallen

    BufferedReader userin = new BufferedReader (new InputStreamReader(System.in));
    String inputData;

    System.out.println( "Enter limit value:" );
    inputData = userin.readLine();
    limit     = Integer.parseInt( inputData );

    // Print a table heading
    System.out.println( "seconds\tDistance"  );
    System.out.println( "-------\t--------"  );

    t  = __________
    
    while (  ____________________ )    
    {
      (more statements will go here later.)

      t = ____________________
    }


  }
}


QUESTION 13:

First get the loop correct. Fill in the blanks so that time is increased from zero, and so that when time equals limit the last value is printed out.