Challenge: Multiplication Table for a Given Number
Write code to print the multiplication table for a number.
We'll cover the following
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 boundlower
, and the upper boundupper
will be treated as inputs. - Output: The multiplication table of
num
fromlower
toupper
will be printed on the console.
Get hands-on with 1200+ tech skills courses.