/*
 * mul_tab.c
 * This program prints out the multiplication table.
 */

#include <stdio.h>

int main ()
{
  const int n = 10;
  int       i, j;

  for (i = 1; i <= n; i++)
  {
    for (j = 1; j <= n; j++)
      /* Notice we allow 4 digits for printing (i*j) to get a neat output. */
      printf ("%4d ", i*j);

    printf ("\n");
  }

  return (0);
}

