In this program, you'll learn to generate multiplication table of a given number. This is done by using a for and a while loop in Java.

#### Generate Multiplication Table using For Loop

#### Generate Multiplication Table using While Loop

#### When you run the program, the output will be:

1 x 5 = 52 x 5 = 103 x 5 = 154 x 5 = 205 x 5 = 256 x 5 = 307 x 5 = 358 x 5 = 409 x 5 = 4510 x 5 = 5011 x 5 = 5512 x 5 = 60

## Post a Comment

Thank you for vising