1) Write a Java class, MultiplicationTable which will display the multiplication table
the user selects from the command line:
e.g
java MultiplicationTable 5
will display
0 * 5 = 0
1 * 5 = 5
2 * 5 = 10
...
...
12 * 5 = 60
Moreover, java MultiplicationTable 5 9 7 2 will display “multiple” tables (for 5, 9, 7
and 2)
Interesting features
display an error message if no command line arguments are passed to the application
support ranges. i.e. java MultiplicationTable 5 7-11 will give tables for 5, 7, 8,
9, 10 and 11