Java program to print table of number

In this post we will see how to print table of number in java.

It is good program to practice for loop in java.

Output:

Enter a Number : 8
Table of 8 is
8 * 1 = 8
8 * 2 = 16
8 * 3 = 24
8 * 4 = 32
8 * 5 = 40
8 * 6 = 48
8 * 7 = 56
8 * 8 = 64
8 * 9 = 72
8 * 10 = 80

That’s all about how to print table of number in java.

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *