CSCI 161 - Assignment #3: MultiTable

Objectives

The objectives of this assignment are to reinforce and help teach:

Overview

For this assignment you will develop a program that prints out the multiplication table for the numbers 0 through 10. The table must be formatted with row and column headers and a "#" (hashtag) character-based line separator as shown in the "Output Specificiation" section below. The output of your program must match the output specification exactly.

Instructions

Following are the instructions and you should follow them carefully:

  1. Using Eclipse create a new Java Project and name it: MultiTable
  2. As with all your labs, add a class of the same name, MultiTable, and include in that class a main method.
  3. Develop methods if you wish in addition to the main method if you want to break down the problem.
  4. Your program must use one (more if desired) for loop for the column header construction and nested for loops for outputting the multiplication facts.
  5. Your program should output exactly according to the "Output Specification" below.
  6. Iteratively develop the assignment (get an initial version working, test it, add code as needed, test, fix if needed, continue).
  7. Be concious of the general grading rubric used for assignments and labs henceforth in this class.
  8. When the assignment is complete, tested and working submit MultiTable.java via AutoLab.

Output Format

Following is the required output format:

        
   #   0   1   2   3   4   5   6   7   8   9  10
################################################
 0 #   0   0   0   0   0   0   0   0   0   0   0
 1 #   0   1   2   3   4   5   6   7   8   9  10
 2 #   0   2   4   6   8  10  12  14  16  18  20
 3 #   0   3   6   9  12  15  18  21  24  27  30
 4 #   0   4   8  12  16  20  24  28  32  36  40
 5 #   0   5  10  15  20  25  30  35  40  45  50
 6 #   0   6  12  18  24  30  36  42  48  54  60
 7 #   0   7  14  21  28  35  42  49  56  63  70
 8 #   0   8  16  24  32  40  48  56  64  72  80
 9 #   0   9  18  27  36  45  54  63  72  81  90
10 #   0  10  20  30  40  50  60  70  80  90 100
        
        
        

Deadline

This assignment must be submitted to the instructor by 11:59:59pm on Monday, September 18th