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