Challenge: Multiplication Table for a Given Number

Write code to print the multiplication table for a number.

Write code to print the multiplication table for the given number. The table should be displayed in the following form:

29 x 1 = 29

29 x 2 = 58

29 x 3 = 87

...
  • Input: The number num, the lower bound lower, and the upper bound upper will be treated as inputs.
  • Output: The multiplication table of num from lower to upper will be printed on the console.

Get hands-on with 1200+ tech skills courses.