Dado um número inteiro n, retorne qual o digito referente ao digito das dezenas
n = 250;
digito = DigitoDezena(n);
digito = 5;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers32
Suggested Problems
-
Determine whether a vector is monotonically increasing
22889 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13658 Solvers
-
Find the index of n in magic(n)
272 Solvers
-
605 Solvers
-
Sum the 'edge' values of a matrix
400 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!