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 Solvers70
Suggested Problems
-
11505 Solvers
-
Let's get back to school, and create multiplication tables
235 Solvers
-
400 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
249 Solvers
-
Rotate a matrix for 180 degree
185 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!