Questions tagged as 'representação-numérica'

14
answers

Determine if all digits are equal

Parameterized by a numeric value. For example, 888 or 546. And I have a function that returns a boolean true value if all numbers are equal or false if they are different. How do I proceed with the algorithm?     
asked by 23.10.2015 / 00:45