Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the function should give 'NaN'.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers29
Suggested Problems
-
Which values occur exactly three times?
5248 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
Circular Primes (based on Project Euler, problem 35)
655 Solvers
-
Deleting an element in a matrix
496 Solvers
-
183 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!