A good answer might be:

java.io.*;


Reading the User's Response

Here is the program with some additional work done on the "prompting and looping" aspect:

import java.io.*;

class evalPoly
{
  public static void main (String[] args ) throws IOException
  {
    BufferedReader userin = 
        ___________________________;
    
    double x;                      // a value to use with the polynomial
    String response = "y";         // "y" or "n"

    while ( response.equals( "y" ) )    
    {
       // Get a value for x.

       // Evaluate the polynomial.

       // Print out the result.

       // Ask the user if the program should continue.
       // The user's answer is "response".
       ___________________________;

       response = userin.___________________________;      
    }

  }
}


QUESTION 16:

Fill in the three blanks.