A good answer might be:

With a loop that counts 1 to numStars and prints a "*" for each iteration.

Printing a Row of Stars

Here is the answer to the little problem:

    int star;

    // collect input data from user
    System.out.println( "How many Stars per Row?" );
    inputData = userin.readLine();
    numStars  = Integer.parseInt( inputData );




      star = __________________;
      while ( star <= __________________ )
      {
        System.out.print("*");
        __________________
      }

      System.out.println();



QUESTION 19:

Need I ask? Fill in the blanks so that numStars stars are printed.