Computing persistence number of an integer

后端 未结 3 1060
难免孤独
难免孤独 2021-01-26 13:45

I am trying to make a code that does the following:

Multiplying the digits of an integer and continuing the process gives the surprising result that the

3条回答
  •  自闭症患者
    2021-01-26 14:00

    If you're trying to get the digits of a number, convert it into a string first and reference them with array notation.

提交回复
热议问题