/*A program that displays the multiplication table. Created by Eyasu Mulugeta A.K.A BlackDiamond0014 on 6/23/2017. eyasu@india.com*/ public class MultiplicationTable { public static void main(String[] args) { int j, k; System.out.print("x"); for (int m = 0; m <= 12; m++) System.out.print("\t" + m + "\t"); for (int i = 0; i <= 12; i++) { System.out.print("\n" + i); for (j = 0; j <= 12; j++) { System.out.print("\t" + (i * j) + "\t"); } } } }