Problem 44626. The answer to life the universe and everything
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 commentsProblem Recent Solvers67
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2248 Solvers
-
563 Solvers
-
488 Solvers
-
Replace every 3rd element in a vector with 4
244 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
326 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!