This is not a complex task, not even slightly.

All you have been asked to do is sum a number of terms, and you know how to do that - just add them up!

1) Get the number of terms.

2) Preset the total to 0; and the initial term to 9

3) Loop from zero to N - 1

3.1) Add the term to the total.

3.2) Multiply the term by ten, and add 9.

4) Print the total.

14,837,158 members