How to Generate Multiplication Table of a number

Write a function which generates a multiplication table for a given table number "table" and till a range "range"



Implementation:



Output:

To print multiplication table of ??
5
Range till ??
10
1*5=5
2*5=10
3*5=15
4*5=20
5*5=25
6*5=30
7*5=35
8*5=40
9*5=45
10*5=50