Project: Multiplication Table with Strings
Write a program to print a multiplication table for 12s. Use the tab character to separate the columns in the output. Use only string literals in your solution.
Output
$ javac -Xlint MultiplicationTable1.java
$ java -ea MultiplicationTable1
0 × 12 = 0
1 × 12 = 12
2 × 12 = 24
3 × 12 = 36
4 × 12 = 48
5 × 12 = 60
6 × 12 = 72
7 × 12 = 84
8 × 12 = 96
9 × 12 = 108
10 × 12 = 120
11 × 12 = 132
12 × 12 = 144