@@ -0,0 +1,1333 @@
+package com.comp110.lecture17;%0A%0Apublic class MultiplicationTable %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A    int size = 8;%0A    printHeader(%22Multiplication Table up to %22 + size);%0A    %0A    // TODO Declare and construct a 2D int array%0A    //         of %60size%60 by %60size%60.%0A    %0A    // TODO Assign values that array with multiplication%0A    //         table of row * column.%0A    %0A    %0A  %7D%0A  %0A  // TODO: Write a printTable method%0A  %0A  // === Support Code Below ===%0A  %0A  // The following method prints a header message%0A  // by adding some padding to both sides of the message%0A  // and underlining the message with a line of dashes.%0A  static void printHeader(String message) %7B%0A    String titleLine = %22    %22 + message + %22    %22;%0A%0A    System.out.println(%22%22);%0A    System.out.println(titleLine);%0A    for(int i = 0; i %3C titleLine.length(); i++) %7B%0A      System.out.print(%22-%22);%0A    %7D%0A    System.out.println(%22%22);%0A  %7D%0A  %0A  // The following message prints a cell with padded spaces%0A  // when the number has fewer than 3 digits. It also prints%0A  // a space after the number.%0A  static void printCell(int number) %7B%0A    // String.format is a powerful utility for formatting strings.%0A    // Its usage is cryptic, though, so when in need refer to the%0A    // Java documentation about it.%0A    System.out.print(String.format(%22%251$3s%22, number) + %22 %22);%0A  %7D%0A%0A%7D%0A

Add lecture17 starter code.