Write a program to print the multiplication table until the product is less than 100.
Input (Integer) |
Printed Output |
2 |
2 x 1 = 2 2 x 2 = 4 2 x 3 = 6 2 x 4 = 8 2 x 5 = 10 2 x 6 = 12 2 x 7 = 14 2 x 8 = 16 2 x 9 = 18 2 x 10 = 20
|
10 |
10 x 1 = 10 10 x 2 = 20 10 x 3 = 30 10 x 4 = 40 10 x 5 = 50 10 x 6 = 60 10 x 7 = 70 10 x 8 = 80 10 x 9 = 90 NOTE : (10 x 10 = 100) is not printed since the product 100 is not less than 100.
|
14 |
14 x 1 = 14 14 x 2 = 28 14 x 3 = 42 14 x 4 = 56 14 x 5 = 70 14 x 6 = 84 14 x 7 = 98
|
20 |
20 x 1 = 20 20 x 2 = 40 20 x 3 = 60 20 x 4 = 80
|