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
-
Create matrix of replicated elements
397 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
Sum the squares of numbers from 1 to n
259 Solvers
-
Check if inputted variable is a string or a number
92 Solvers
-
242 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!