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 Solvers33
Suggested Problems
-
Select every other element of a vector
37569 Solvers
-
Find the sum of the elements in the "second" diagonal
1212 Solvers
-
Create a square matrix of multiples
502 Solvers
-
2810 Solvers
-
110 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!