Let 'N' = 5.
The multiplication table of 5 up to 10 is: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50.
The summation is 5 + 10 + 15 + 20 + 25 + 30 + 35 + 40 + 45 + 50 = 275.
Therefore, the answer is 275.
The first line contains a single integer 'N'.
Return the summation of the multiplication table of 'N' up to 10.
You don’t need to print anything. Just implement the given function.
1 <= 'N' <= 1000
Time Limit: 1 sec
Approach:
Algorithm: