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 Solvers62
Suggested Problems
-
Select every other element of a vector
35056 Solvers
-
Program an exclusive OR operation with logical operators
733 Solvers
-
Create matrix of replicated elements
386 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
154 Solvers
-
1816 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!