Problem : The series, 11 + 22 + 33 + ... + 1010 = 10405071317.
// a. find out p=2^15
// b. print the last digit of p
Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000.
My solution approach is,
first made a smaller version of the problem then I tried to solve it after solving this I was going to solve the bigger version.
// b. print the last digit of p

.png)