Here's a little modification of the above program to generate the multiplication table up to a range where range is also a positive integer entered by the user | |
---|---|
The program below takes an integer input from the user and generates the multiplication tables up to 10 | Once a positive range has been entered, we print the multiplication table |