Need a code that counts the same digit in a number

前端 未结 2 1878
旧巷少年郎
旧巷少年郎 2021-01-29 17:12

As title says , need a code that counts the same digit in a number..

For example:

If I put 54678, it shows me how many number 5 is used in that integer.

2条回答
提交回复
热议问题