Introduction - If you have any usage issues, please Google them yourself
A book page from the natural number 1 until the beginning of coding sequence of natural number n. Book page number in accordance with the usual habit of scheduling, each page does not contain more than the figures are 0, for example, p. 6 in figures 6 that, rather than 06 or 006 and so on. Now need to prepare a method int [] CaculateNumber (int n), to give it a book s total page number n, can have a return value, it records the page number in a given n in the figures 0,1,2 ... .9 number (such as page 67 that the emergence of 6 and 7 a). A total of nine elements in the array, 0 the number of records appears in the array index of the element to 0, and so on.