Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case the function should give out:
the answer to life the universe and everything
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers72
Suggested Problems
-
Return a list sorted by number of occurrences
2901 Solvers
-
Change the sign of even index entries of the reversed vector
661 Solvers
-
Reverse the elements of an array
1144 Solvers
-
245 Solvers
-
110 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!