Recursive function that returns the number of digits in a number

前端 未结 0 1607
难免孤独
难免孤独 2021-02-14 01:00

I have a exercise in school that asks me to do a recursive function numdigits(int n) with only one variable(n). for example the number 123 have 3 digits, and 0 have 1 digit. Im

相关标签:
回答
  • 消灭零回复
提交回复
热议问题