Write a program to get the multiplication tables array for a given number.
Input (Integer) |
Output (Integer array of size 10) |
7 |
{7, 14, 21, 28, 35, 42, 49, 56, 63, 70 } |
5 |
{5, 10, 15, 20, 2, 30, 35, 40, 45, 50 } |
11 |
{11, 22, 33, 44, 55, 66, 77, 88, 99, 110 } |