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
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14549 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
Find the index of n in magic(n)
277 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
254 Solvers
-
Sum the squares of numbers from 1 to n
261 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!