Write a program that reads an integer and displays its multiplication table. For example, if the user enters 5, the output should be 1*5 = 5, 2*5 = 10,..., 10*5 = 50. The program should force the user to enter an integer within [1, 10], else return Invalid number.
Sample Input 1:
5
Sample Output 1:
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
Sample Input 2:
11
Sample Output 2:
Invalid number
References: C From Theory