Class Table

java.lang.Object
  |
  +--Table

public class Table
extends java.lang.Object

This class provides simple math tables


Constructor Summary
Table()
           
 
Method Summary
 void multA(int m, int n)
          Print a table of multiplied values.
 void multB(int m, int n)
          Print a multiplication table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table()
Method Detail

multA

public void multA(int m,
                  int n)
Print a table of multiplied values. This is really simple, no work is done on the header row and column, and no work is done on alignment.

Parameters:
m - number of rows in the table
n - number of columns in the table

multB

public void multB(int m,
                  int n)
Print a multiplication table

Parameters:
m - number of rows in the table
n - number of columns in the table