How to print a multiplication table in Java. This Java program will take one number as user input and print the multiplication table.