Problem 45412. Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número.
Algunos ejemplos para ayudarte serían: El número 125 tiene 3 cifras.
El número 8749023 tiene 7 cifras.
El número 4 tiene 1 cifra.
Y así sucesivamente.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers59
Suggested Problems
-
19253 Solvers
-
Who knows the last digit of pi?
672 Solvers
-
Getting the indices from a vector
10366 Solvers
-
365 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1975 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!