public class Rectangle {

  // code for exercise 10

  public static void main(String[] args) {
    System.out.print("Please enter a width and a height -> ");
    int w = IOUtil.readInt();
    int h = IOUtil.readInt();
    for (int j = 1; j <= h; j++) {

      for (int i = 1; i <= w; i++) {
        System.out.print('*');
      }
      System.out.println();
    }
  }
}
