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
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3171 Solvers
-
Reverse the elements of an array
1023 Solvers
-
Let's get back to school, and create multiplication tables
214 Solvers
-
Find Out sum of principal diagonal element of given matrix
246 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!