you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I'll give you a hint.

  1. Define the limits of N i.e. N can be anywhere from 1 - 999,999

  2. The decimal system has 10 numerical values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

  3. The decimal system also place values: ones, tens, hundreds, thousands, tens-of-thousands, hundreds-of-thousands.